antvis/G2

5.x设置了supportsCSSTransform鼠标响应还是不正确 #4722

xiaochong44 posted onGitHub

<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/antvis/g2/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/antvis/g2/blob/master/CONTRIBUTING.md -->

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

  • npm test passes
  • benchmarks are included
  • commit message follows commit guidelines
  • documents are updated
Description of change

<!-- Provide a description of the change below this comment. -->

5.x设置了supportsCSSTransform,父容器用css设置了transform:scale鼠标响应还是不正确


可以给一个具体的代码片段和复现 demo 吗?

posted by pearmini about 2 years ago

@pearmini 我就在官网的例子上修改试的,我发现antv的几个产品升级到G5.x后都这样s2的next也是同样,会不会G5.x修改了什么

posted by xiaochong44 about 2 years ago

@pearmini 我看源代码5.x没有了这个属性,4.x的还有这个属性,现在5.x有什么替代的解决方案吗

posted by xiaochong44 about 2 years ago

supportCSSTransform这个属性,以前4.x的Chart有这个属性

posted by xiaochong44 about 2 years ago

我也碰到了这个问题,解决了吗

posted by yyhdev 4 months ago

具体是什么问题?

posted by hustcc 4 months ago

Fund this Issue

$0.00
Funded

Pull requests