NuxtN
Nuxt12mo ago
jscottym

Modal capturing Slideover focus

When I utilize useModal() composable inside of <USlideover />, any modal focus (eg, button clicks) are causing the slideover to close. I can use prevent-close on the slideover, but I like it closing when the user clicks out.

Is there a way to control the focus trap, or some other built-in way to have composable-generated modals not close the slideover?
Was this page helpful?