Disclosure not working with checkbox #3066
Unanswered
ninaboaventura
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the
Disclosure
component with a checkbox on the button element. My desired behaviour would be that if I click on the label that wraps the checkbox and the text it would trigger the event and the panel would show up. Unfortunately the panel only shows up if I click directly on the checkbox element.Here's the example
PS: I have also tried instead of using a
<label>
element to wrap the text + checkbox, using the HTML attributefor
but go the same result.Beta Was this translation helpful? Give feedback.
All reactions