antvis/G2
Do you want to work on this issue?
You can request for a bounty in order to promote it!
【G2 V5】分组柱形图legend和scrollbar同时配置的情况下,拖动滚动条legend位置会跳动 #6242
oiltofu posted onGitHub
问题描述
分组柱形图legend和scrollbar同时配置的情况下,拖动滚动条legend位置会跳动
重现链接
No response
重现步骤
1.https://codesandbox.io/p/sandbox/pedantic-mclean-p7mjv9?file=%2Findex.ts%3A34%2C57 2.添加 .scrollbar({ x: {} }) 3.拖动滚动条
预期行为
期望:拖动过程中legend应该保持不动 实际:拖动过程中发生了位置偏移
平台
- 操作系统: [macOS]
- 网页浏览器: [Google Chrome]
屏幕截图或视频(可选)
https://github.com/antvis/G2/assets/20057081/0e50cca9-4b0b-47a1-96ca-2d6757a5a526
补充说明(可选)
No response