Skip to content

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

Closed
wants to merge 4 commits into from

Conversation

gauravsingh94
Copy link
Contributor

@gauravsingh94 gauravsingh94 commented Oct 21, 2023

Fixes #2524

Changes:
Fix: clicking anywhere will close the menu of creating and deleting file and folder.

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@welcome
Copy link

welcome bot commented Oct 21, 2023

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

@gauravsingh94
Copy link
Contributor Author

The final output will look like this.

Screencast.from.2023-10-21.20-11-46.webm

Copy link
Collaborator

@lindapaiste lindapaiste left a 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.

@lindapaiste lindapaiste changed the title fix the issue-#2524. Fix #2524 - close create file menu when clicking outside Oct 22, 2023
Copy link
Contributor

@PiyushChandra17 PiyushChandra17 left a 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

@raclim raclim added the Enhancement Improvement to an existing feature label Jan 26, 2024
@raclim raclim changed the title Fix #2524 - close create file menu when clicking outside Fixes #2524, Close create file menu when clicking outside Jan 26, 2024
@raclim
Copy link
Collaborator

raclim commented May 30, 2024

Thanks for working on this! We ultimately ended up merging another fix for this, so I'm going to close this PR and issue.

@raclim raclim closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to an existing feature
Projects
None yet
4 participants