You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
问题描述
当页面发生滚动后(不是画布滚动,是整个网页页面上下滚动),dnd中的节点立即拖拽到画布中会延迟一会儿才显示。
补充1:如果滚动之后,过两三秒再拖拽节点,则没有延迟。
补充2:如果滚动后,立即拖拽到页面中,然后迅速手动再滚动一次页面,则会立即渲染该节点。
重现链接
https://x6.antv.antgroup.com/tutorial/plugins/dnd
重现步骤
1.进入上述官方示例网页
2.用鼠标滑轮滚动页面后,迅速拖拽一个节点到画布中,就可以看到延迟的现象
3.滚动后静置2-3s,再拖拽节点到画布中,则没有延迟
注意,每次滚动后,只有首次拖拽会出现这个现象。
预期行为
我期望页面滚动后,立即拖拽节点到画布中时,不要延迟长达2s左右,而是控制在1s以内
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: