Currently, Does the Sheet component have a way to disable autofocus on open? #1342
Answered
by
oriolmontcreus
oriolmontcreus
asked this question in
Help
-
I've already tried: <Sheet
openFocus={null}
open={selectedProject !== null}
>
<SheetContent> but it isnt working. In shadcn from react it would look something like this: |
Beta Was this translation helpful? Give feedback.
Answered by
oriolmontcreus
Nov 1, 2024
Replies: 2 comments 4 replies
-
You should be able to do this to disable open autofocus
|
Beta Was this translation helpful? Give feedback.
1 reply
-
It does on my side. Are you using next for bits-ui and shandcs-svelte? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah.. thats what I thought would happen... Well, I have come with a "solution".
This is nasty but works, I guess I will use this.
I appreciate the help @nikitaiavdeev =)