-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fixes #2524, Close create file menu when clicking outside #2525
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
Conversation
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. |
The final output will look like this. Screencast.from.2023-10-21.20-11-46.webm |
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.
This looks fine. I hate that we have such similar code in so many components and I wrote a utility hook to fix that, but that PR still has not been merged 🙃 So I guess we should merge this to fix the immediate problem. (I can merge your PR but not my own).
I haven't loaded up your branch and run it yet. I will do that before merging but I'm approving it now because the code looks good.
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.
These changes looks good to me and it has working demo aswell
Thanks for working on this! We ultimately ended up merging another fix for this, so I'm going to close this PR and issue. |
Fixes #2524
Changes:
Fix: clicking anywhere will close the menu of creating and deleting file and folder.
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #123