Replies: 2 comments 5 replies
-
same issue, anyone found a good solution to this? im using this <DrawerTrigger
onClick={(e) => {
e.currentTarget.blur();
}}
> |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am not sure if this is the correct way but it works for me <Drawer open={openDrawer} onOpenChange={setOpenDrawer} autoFocus={openDrawer} /> or <DrawerTrigger autoFocus={openDrawer} /> |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when I using a the drawer from shadcn, when i trigger the drawer using TriggerDrawer, then the state updates to true, But the error getting up and nothing happens.
For more info
I have started a vite react js project, by using tanstack start and that uses vinxi, along with tailwind and shadcn, Solve if possible.
Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: button:
These are some snaps of the configs
Beta Was this translation helpful? Give feedback.
All reactions