You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking into this and i guess the problem is here: when using set_attributes all events are on the next microtask to allow for the bindings event to take precedence. This means the focus event is added after the action called focus.
Describe the bug
The
onfocus
handler is not called when thefocus
action focuses the input.If you remove the object spread, it mysteriously starts working again.
Reproduction
https://svelte.dev/playground/hello-world?version=5.2.7#H4sIAAAAAAAAE42QwWrDMBBEf0Vse7DB2CRH1zL01n-oenDsdStQV8ZaJy1C_14kOZRAoL2JN7szs_JAwydCCy9ojBUXu5pJFDhpxqmECmZt0EH76oG_lzgXAVTXredlqd0ZDUd2Ghze46MlRmIHLXRuXPXCwgz0LhWwU9ArUmyQxcC86tPG6IQUPjwpispoybGY7bhFXGhaNi6F7IWPquIE6qQXZdzh62b0dB_2QkKKR8cDY6HgoCBOdU0uEsOpm_Q5tegcGhxZnDRN7XkwG0qfHEKfwzq7sLbUH7pmf93y4w3vmuzXx7w9g_yDnq-1pBSpUUjT6ZLs5-u6_v2OkKGldKX0Rbo_fow1WBv7XijYRQVVtiz3pc1hmxVS3PSKfKPncLfI8U6R_2ce_8qEChi_GFpeNwxv4QcTXTJoegIAAA==
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: