Skip to content
Discussion options

You must be logged in to vote

https://play.tailwindcss.com/HYm851FUW3?file=css

For the first version

  • you need to have tabindex on .collapse - it does not matter the value
  • but if you use the radio inside the title it does not play well with mouse clicks and keyboard navigation

You get much better results with some fake radio buttons that match the normal ones used as in the default example for collapse (version 2)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by bogdan
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