You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
When components are placed placed inside a label element clicking on the component fires the click event twice.
Expected behavior
The click event should fire once
Minimal reproduction of the problem with instructions
Click the "Check box inside label" CheckBox notice how the number of clicks increase by two and the check box stays un-checked
Click the "Check box with external label:" CheckBox note the number of clicks increase by one and the check box checks.
Browser: [all]
Language: [all]
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/primereact-test-k12zb
Current behavior
When components are placed placed inside a label element clicking on the component fires the click event twice.
Expected behavior
The click event should fire once
Minimal reproduction of the problem with instructions
Click the "Check box inside label" CheckBox notice how the number of clicks increase by two and the check box stays un-checked
Click the "Check box with external label:" CheckBox note the number of clicks increase by one and the check box checks.
The text was updated successfully, but these errors were encountered: