Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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