Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click event fires two times when clicking on ICheckbox component element #414

Open
vdomike opened this issue Mar 16, 2024 · 0 comments
Open

Comments

@vdomike
Copy link

vdomike commented Mar 16, 2024

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:

  1. Make a component using ICheckbox
  2. Set click event handler on it
  3. Click on checkbox or its label
  4. 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
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

No branches or pull requests

1 participant