Skip to content

fix: CheckBoxToggle click behavior #2630

@wildergd

Description

@wildergd

Problem when clicking outside CheckBoxToggle

  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Describe the bug

When CheckoxToggle has label aligned on top and click on the empty space after the toggle it fires the click event
##Screenshots

Screen.Recording.2023-07-28.at.2.29.54.p.m.mov

To Reproduce 🕹

Steps to reproduce the behavior:

  1. Go to any CheckBoxToggle example
  2. Click on "Show Code"
  3. change label to a large text and set labelAlignment to "top"
  4. Click on the empty space below the label but outside the toggle

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions