Skip to content
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

magnet为true的node,valedateMagnet返回false,无法移动 #2311

Closed
fanmingfei opened this issue Jul 4, 2022 · 3 comments
Closed

magnet为true的node,valedateMagnet返回false,无法移动 #2311

fanmingfei opened this issue Jul 4, 2022 · 3 comments

Comments

@fanmingfei
Copy link

Describe the bug

上次的 #2216 解决后,因为在最前面阻止冒泡后,导致进入onMouseDown后无法移动。
理论上#2216的需求是port的magnet,而不是node的magnet。

Your Example Website or App

https://codesandbox.io/s/wonderful-clarke-2pw5jg?file=/src/app.tsx

Steps to Reproduce the Bug or Issue

拖拽 validateMagnet 为false的node , 无法移动

Expected behavior

拖拽 validateMagnet 为false的node , 可以移动,但是port如果是validateMagnet是false的话,不能移动node

Screenshots or Videos

No response

Platform

  • Version: [1.32.6]

Additional context

No response

@fanmingfei
Copy link
Author

close: #2312

@fanmingfei
Copy link
Author

更新到 1.32.7

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 6, 2023

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.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant