Skip to content

🐛 [BUG] windows 兼容问题 #364

@xiecg

Description

@xiecg

"@antv/l7": "^2.22.5",
"@antv/l7plot": "^0.5.11"

版本都是最新版本,在部分 windows 设备下有两个问题,mac 端都正常。

问题1: hover 时图表会变黑,测试发现把 tooltip 属性去除就正常了;

Image

问题2: fillAreaLayer:click 获取的 feature 属性是 null。

Image

测试了两位同事的 windows 11 专业版,同样 chrome 都是最新版本,一个没问题一个有问题。


发现官网的案例代码版本稍微低一点
"@antv/l7": "2.21.0",
"@antv/l7plot": "0.5.9",

我这边降低版本后发现问题1没有了,问题2 feature 也有值,但是 fillAreaLayer:click 太难触发了(mac下也是这样),图表点击好半天才触发一个事件回调。
另外也 chart.addLayer(new DotLayer) 也没有效果了。

问题比较多,帮忙看看跟进下。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions