-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
开启滚动及小地图后画布显示不全,元素被隐藏 #3782
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
能否可以基于 demo 提供一个可以复现的例子。 |
https://codesandbox.io/p/sandbox/x6tooldemo-832m4f?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A16%2C48 |
确实有这个问题,但是不开启搞滚动,小地图显示就异常了 |
你说的那个解决方案我很早就按照文档那样写了,但是还是有问题 |
同样的问题
开启scroller和minimap就会显示不全,画布的 panning 不设置默认就是 false 的,有什么解决方案吗? |
这个问题关了是解决了吗? |
Describe the bug
从右下小地图能看出,可视区域非常窄,平移画布的时候会导致元素显示不全甚至是完全被遮挡
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
1:实例化graph
2:启用滚动和小地图
3:画布中添加元素
4:平移画布
注:在我的例子中实例化graph时只接受了一个el,然后通过动态创建dom的为画布和小地图创建容器,并添加至el容器中
Expected behavior
元素不该被剪切或隐藏
Screenshots or Videos
No response
Platform
Additional context
已解决,当开启画布滚动和小地图的时候,实例化Graph时需要将panning设置为false就好了
No response
The text was updated successfully, but these errors were encountered: