Skip to content

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

@vdomike

Description

@vdomike

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions