Describe the bug
When clicking on ICheckbox click event fires two times.
This behavior is not correct for cases when there is an outer element that listens to the click event because it runs click event handler twice.
To Reproduce
Steps to reproduce the behavior:
- Make a component using ICheckbox
- Set click event handler on it
- Click on checkbox or its label
- Check that handler runs twice
Expected behavior
Click event fires only once when clicking on checkbox or its label
Environment
- Version: 4.2.1
- OS: Windows
- Browser: Chrome 122.0.6261.95 (Official Build) (64-bit)
- Language: TypeScript
Describe the bug
When clicking on ICheckbox click event fires two times.
This behavior is not correct for cases when there is an outer element that listens to the click event because it runs click event handler twice.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Click event fires only once when clicking on checkbox or its label
Environment