Skip to content

Conversation

@giladgray
Copy link
Contributor

  • add tagName prop so you can have a checkbox not wrapped in a <label>, which causes event problems when you listen for click on a parent element.
    • obnoxious DOM side effect: pretty sure this is because clicking a label around an input also clicks the input and ends up triggering a whole bunch of events.
    • set tagName="div" to render a beautiful checkbox that can be clicked directly (but not the text)

@giladgray giladgray merged commit ae247ab into develop Jul 23, 2018
@giladgray giladgray deleted the gg/checkbox branch July 23, 2018 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants