-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
PreventDefault on touchstart not working! #12639
Comments
This is intentional because we now use event delegation, if you use |
The issue still exists even if i use old syntax ( |
What are you adding Edit: you deleted your comment? |
https://github.com/user-attachments/assets/3aa3af5f-3fa6-4724-9778-77ffc85b214a |
Nice catch. I have a PR that fixes the |
Reopening since we still need to document this for runes mode (and/or decide if the default passive is the right move) |
Right now I have the following situation: I have a html In summary, I feel this overcomplicate achiving the goal, which is properly working component in Svelte 5. |
I’ll investigate tomorrow on my Android device. Update: landed a PR that should fix this particular issue. |
Noticed that we're not currently making |
@Rich-Harris This used to work? Let me take a look. |
Describe the bug
While the input has focus clicking the button on a touch device shouldn't take the focus away from the input . In svelte 4 it is working fine . I'm guessing under the hood passive: true is added .
Severity
annoyance
The text was updated successfully, but these errors were encountered: