-
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
vue-shape teleport渲染问题 #2505
Comments
👋 @mht1993 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
应该是bug,周末修复一下 |
感恩感恩 |
其实我感觉是teleport.ts 中没处理confirmUpdate逻辑导致的
而 teleport 中
|
修复方案:
|
@mht1993 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the bug
使用teleport优化节点,但是一旦设置 node 的visible =false, 然后visible还原为true,此时,修改node的属性(比如移动位置,修改大小)不会触发视图刷新,好像是model层的变化不会被view层接收到了,希望这问题早点能解决。
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
使用 @antv/x6-vue-shape useTeleport 方法渲染Node
给Node 设置 node.toggleVisible(false) 隐藏Node
然后 设置 node.toggleVisible(true) 显示Node
这个Node不能再移动(store 中记录的position 已经变化,但是视图没刷新)
Expected behavior
希望操作Node,能触发视图的刷新
Screenshots or Videos
No response
Platform
windows
Additional context
No response
The text was updated successfully, but these errors were encountered: