Skip to content

RAC: How to add a Button within a ListBoxItem that doesn't select the option? #7810

Answered by snowystinger
raleighwavv asked this question in Q&A
Discussion options

You must be logged in to vote

You can't add a button inside a Select Option, no interactive children are allowed inside ListBoxes. There is no workaround for this, this is the aria spec implemented. You are going the correct route with GridList, and the issue you linked is fixed as you noted and available in the nightly version. We will be releasing it in the next week or two.

Does using the nightly resolve the issue for you? If the nightly is doing something else you aren't ready for yet, you can use patch-package to apply just that fix (that PR was very small).

Thanks for your understanding and patience.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raleighwavv
Comment options

Answer selected by raleighwavv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants