antvis/G2
Do you want to work on this issue?
You can request for a bounty in order to promote it!
有滚动条的柱状图在浏览器尺寸变化后,会导致部分数据未渲染 #6284
Liugq5713 posted onGitHub
问题描述
有滚动条的柱状图, 且这个滚动条默认滚动到最右侧时,在浏览器尺寸变化后,会导致部分数据未渲染 <img width="777" alt="image" src="https://github.com/antvis/G2/assets/23250172/cac9dbbb-e41a-47a6-874c-4a0ff1381513">
重现链接
https://codesandbox.io/p/sandbox/vigilant-frog-3j9x8m?file=%2Findex.ts
重现步骤
- 进入页面
- 通过点击浏览器header 让其放大缩小, 点如下图的位置
<img width="897" alt="image" src="https://github.com/antvis/G2/assets/23250172/d5316b00-15e2-45dd-bf1a-2f6ec5044f0d">
预期行为
期望正确渲染
平台
- 操作系统: [macOS,]
- 网页浏览器: [Google Chrome]
屏幕截图或视频(可选)
<img width="788" alt="image" src="https://github.com/antvis/G2/assets/23250172/00aa85a1-2746-4557-93da-6f9059840b38">
补充说明(可选)
No response