Clicking Input located on AccordionItemButton
shushan-ab opened this issue · 3 comments
shushan-ab commented
How can I override event during expanding or collapsing, when I'm clicking on input located on AccordionItemButton?
holloway commented
My understanding is that you're not supposed to do that.
The button should not have other interactive elements within it, for accessibility reasons.
shushan-ab commented
Thanks for answer @holloway!
By the way I have added custom checkbox and it worked without any additional changes, so by clicking checkbox AccordionPanel didn't collapse.Then I thought that it should be working with input(type=number) as well.
katie-day commented
I'm just closing this ticket for now, but please reopen to discuss further