-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
bind:files doesn't work on safari. But works in chrome #3226
Comments
can confirm. receiving events in chrome and firefox. |
You can use change event.
|
Yup, can confirm @dishuostec's is working. Thanks man I'll keep this issue still open tho. Perhaps |
I'm assuming the issue here is that file input elements don't fire the |
I've just checked this on safari and file inputs do indeed fire a |
use `change` event for `bind:files`
Here's the repl.
https://svelte.dev/repl/61c6df2593cf4667ac36fb4c75c56012?version=3.6.7
Tried to open console. And then input a file.
On chrome it should log something. But on safari it's not working
The text was updated successfully, but these errors were encountered: