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
Seems there is some argument over it, sveltejs/svelte#6629, because it is not browser-native (it is handled by Svelte explicitly calling focus). The solutions are server-side rendering and letting the browser handle it, or else carefully customizing behavior based on device characteristics like in huggingface/chat-ui#183. But mostly, it should just be disabled by adding <!-- svelte-ignore a11y-autofocus -->
When running the application, a warning appears in the console:
The text was updated successfully, but these errors were encountered: