Skip to content

bug: ion-checkbox fires onclick twice #27506

Closed as not planned
Closed as not planned
@corysmc

Description

@corysmc

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

If an ion-checkbox has an onClick listener - it will fire onClick twice

Expected Behavior

Should only fire onClick once when you click the checkbox.

Steps to Reproduce

  1. Use an IonCheckbox with an onClick
  2. notice that the onClick is called twice when you click once

Code Reproduction URL

https://stackblitz.com/edit/8t9ymz?file=src%2Fmain.tsx

Ionic Info

See stackblitz repro above - not using ionic CLI

Additional Information

Maybe related - not sure: #27492

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions