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.
功能描述
问题:
页面分为左侧画布外的侧边栏区域,和右侧的画布区域:
1、为左侧边栏的源节点A绑定dragstart事件,拖动A节点到画布上时,事件处理函数会调用dnd.start(node)方法创建一个自定义的拖拽节点A1,放置到画布上时会生成自定义的放置节点A2
2、为A的放置节点容器上绑定dragenter,dragover,dragleave, drop事件
3、当想将左侧边栏的另一个源节点B 拖拽到 画布上已存在的目标节点 A内时,A的放置节点的原生事件dragenter,dragover,dragleave, drop并不会触发。
排查发现正是dnd.start()导致以上原生的drag相关事件不会被触发
期望解决方案
希望使用dnd.start后,也可以触发画布上目标节点区域内的dragenter,dragover,dragleave, drop事件
The text was updated successfully, but these errors were encountered: