-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于图表容器 resize 后,图表绘制出错的问题咨询 #3255
Comments
@zLsPitaya spec 补充一下吧 |
@xile611 该问题仅在这一个用户的设备上出现,他用笔记本就不会复现,在上面的拓展显示屏上能稳定复现,这是对应的链接:https://codesandbox.io/p/sandbox/vchart-resize-ltp4ng?file=%2Fsrc%2Findex.ts%3A19%2C14 |
@xile611 我在想,是不是因为用户设备的 dpr 失去精度的原因导致的呢?我在前面手动设置 dpr 为 1.35,实际我设备是 2,也能复现这个问题。 |
@zLsPitaya 排查到是底层在处理dpr 为1.35 的时候,更新范围计算有问题 |
@xile611 辛苦排查,感谢~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,容器的高度可调整,图表挂载的dom 是根据容器高度自适应的,当容器高度发生快速变化时,图表内容绘制出错,但是控制台没有错误抛出。
可以看到,挂在的容器 dom 高度是有的,但是canvas 内容没出来。
用户的设置信息如下:
The text was updated successfully, but these errors were encountered: