Skip dialog initial focus with child component #654
Unanswered
williamjulianvicary
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the Tailwind UI Slide Over, and I can see in the documentation that it's possible to adjust the initial focus component with refs:
https://headlessui.dev/vue/dialog#managing-focus-within-your-dialog
However, I essentially have my component wrapped with a slot, like so:
Is it possible, within
slide-over-form
to skip the close button in that component (only initially, allowing the tab back to the close button) to theadd-project-form
's input element? I've tried a few approaches and wasn't able to find something that workedBeta Was this translation helpful? Give feedback.
All reactions