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

Drag拖拽组件在拖拽后不应该触发被拖拽元素的点击事件 #2767

Open
Yourrunner opened this issue Nov 19, 2024 · 0 comments
Open
Assignees

Comments

@Yourrunner
Copy link

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

2.7.0

平台

h5

重现链接

https://codesandbox.io/p/devbox/nutui-react-2x-demo-fg4vxd

重现步骤

使用Drag组件包裹FixedNav组件,拖拽后FixedNav组件会触发onChange方法

期望的结果是什么?

期望拖拽后不触发FixedNav组件的onChange方法

实际的结果是什么?

拖拽后会触发FixedNav组件的onChange方法

环境信息

No response

其他补充信息

No response

@irisSong irisSong assigned irisSong and unassigned irisSong Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants