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

Global drop zone interferes with file input elements. #1063

Open
2Pacalypse- opened this issue Nov 25, 2023 · 2 comments
Open

Global drop zone interferes with file input elements. #1063

2Pacalypse- opened this issue Nov 25, 2023 · 2 comments

Comments

@2Pacalypse-
Copy link
Member

As it is currently, it's impossible to use the built-in drag-and-drop feature of file input elements as our global drop zone detects a file being dropped and displays the overlay.

Not really sure what's the best way to deal with this. Maybe limit the global file drop zone provider to only specific file types that we want to handle globally (e.g. replays and maps).

@tec27
Copy link
Member

tec27 commented Nov 25, 2023

You cannot know the extension of a file until it has been dropped, so your suggestion will not work

@2Pacalypse-
Copy link
Member Author

Oh :(

I'm out of suggestions then :d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants