-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[tree view] Fix unwanted behaviors on the item re-ordering #20368
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
[tree view] Fix unwanted behaviors on the item re-ordering #20368
Conversation
a9e3f2f to
47d6ec4
Compare
|
Deploy preview: https://deploy-preview-20368--material-ui-x.netlify.app/ Bundle size report
|
noraleonte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👌 🎉 Also seems to fix part of #20130 from the same community member
|
I can try to fix the other half of #20130 if it's a small fix 👀 |
| params, | ||
| store, | ||
| }) => { | ||
| const canItemBeDragged = React.useCallback( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was never used
Part of #20301
Fixes #20130
contentRefto determine the current coordinate of the mouse within the target item