-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
🐛 Bug Report
This happens due to the overridden onMouseDown event within useSelectableCollection
.
🤔 Expected Behavior
Inputs should be clickable from inside of an Accordion region.
😯 Current Behavior
Not all element types are impacted, but inputs are the primary reason for this ticket.
💁 Possible Solution
Perform a further check in the event to target scrollbars if possible.
🔦 Context
We're trying to do something similar to the WAI-ARIA example for Accordion.
💻 Code Sample
https://codesandbox.io/s/fervent-fast-g36d2?file=/src/AccordionItem.js
I also noticed that upgrading to @react-aria/accordion@3.0.0-alpha.2
breaks this implementation with an unexpected error.
jcarrera and Jannchie