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

Fix files drop event opening a new window #45

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Gabixel
Copy link
Owner

@Gabixel Gabixel commented Jan 8, 2024

Fixes #39.

Started to happen recently, and was very annoying sometimes.
Noticed the missing preventDefault() for this event thanks to this comment.

Should be a straightforward fix, but I think we need a more amicable root logic if more events must be prevented by default.

@Gabixel Gabixel added the bugfix label Jan 8, 2024
@Gabixel Gabixel changed the title Fix files drop opening a new window when not wanted Fix files drop event opening a new window when not wanted Jan 8, 2024
@Gabixel Gabixel changed the title Fix files drop event opening a new window when not wanted Fix files drop event opening a new window Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Files dropped in the buttons grid open a preview window
1 participant