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

onDrop function not called all times in draggable tree #2981

Open
sharifashraful opened this issue Dec 19, 2022 · 2 comments
Open

onDrop function not called all times in draggable tree #2981

sharifashraful opened this issue Dec 19, 2022 · 2 comments

Comments

@sharifashraful
Copy link

sharifashraful commented Dec 19, 2022

What version of rsuite are you using?

5.23.3

What version of React are you using?

17.0.2

What version of TypeScript are you using (if any)?

No response

What browser are you using?

chrome

Describe the Bug

onDrop function not called all times in draggable tree

Expected Behavior

No response

To Reproduce

No response

@sharifashraful sharifashraful changed the title onDrop function not called all times for draggable tree onDrop function not called all times in draggable tree Dec 19, 2022
@Yuiai01
Copy link
Contributor

Yuiai01 commented Dec 25, 2022

Hello, in the Tree component, the onDrop function is a callback to the drop that is triggered only after the drop event has completed. I'd like to know why you want onDrop to be called all the time.

@sharifashraful
Copy link
Author

i am implementing ordering functionality by dragging tree item. if i drag 10 times , then only 3/4 times onDrop function called

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