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
Thanks for the issue @hahn-kev. At the moment autoFocus is just a convenience to add the autoFocus action as the initial actions value (save an import and less boilerplate) since it's a common use case. We could possibly initialize actions as an empty array and then add autoFocus in onMount or similar, but would need some exploration.
I'm also keeping an eye on the new attachments PR proposal as a replacement for actions with better compatibility (and other improvements).
This example from the docs which defines an action, does not autofocus when you add the autofocus attribute
but if you remove the action then it starts working
I wouldn't expect those 2 things to effect each other.
as a workaround this should work:
The text was updated successfully, but these errors were encountered: