Prevent autofocus on opening sheet #1002
Unanswered
Maniktherana
asked this question in
Help
Replies: 2 comments
-
Use
See my comment for more details on melt-ui #1007 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This causes an outline on the sheet component (since the content div is auto focused). Not ideal either. Any other solutions ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have a sheet component which has a form in it. whenenver i open it it focuses on the input element by default. how can i prevent this? Edit: setting autofocus={false} on the input doesn't work
Beta Was this translation helpful? Give feedback.
All reactions