kobalte icon indicating copy to clipboard operation
kobalte copied to clipboard

Inputs inside accordions require multiple clicks to focus

Open Brendonovich opened this issue 1 year ago • 2 comments

Describe the bug An <input> within an accordion requires being clicked twice to receive focus. I'm not entirely sure why but it seems like AccordionTrigger hijacks the first click's onFocusIn.

To Reproduce Try focusing and unfocusing the input in this repro by clicking in and out of it: https://stackblitz.com/edit/github-fk8exj-ruezfg?file=src%2Froutes%2Findex.tsx

Expected behavior The input should instantly focus, rather than requiring 2 clicks

Brendonovich avatar Jun 29 '24 14:06 Brendonovich

I also found this problem, is there a any solution?

army-u8 avatar Aug 07 '24 09:08 army-u8

I think this is a duplicate of #236 🤔

katywings avatar Aug 09 '24 12:08 katywings

fixed by #483

jer3m01 avatar Sep 04 '24 13:09 jer3m01