Skip to content
New issue

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

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

Already on GitHub? # to your account

Cursor not set to pointer between label and switch in igx-switch #15218

Closed
Zneeky opened this issue Jan 9, 2025 · 0 comments · Fixed by #15227 · May be fixed by #15229 or #15230
Closed

Cursor not set to pointer between label and switch in igx-switch #15218

Zneeky opened this issue Jan 9, 2025 · 0 comments · Fixed by #15227 · May be fixed by #15229 or #15230

Comments

@Zneeky
Copy link
Contributor

Zneeky commented Jan 9, 2025

Description

The cursor behavior for the igx-switch component is inconsistent when hovering between the label and the switch. Instead of maintaining the pointer cursor, it reverts to the default cursor and despite this clicks in this area are still registered and change the state of the switch, which might confuse users.

  • igniteui-angular version: ^17.0.0, ^18.0.0, ^19.0.0
  • browser: any

Steps to reproduce

  1. Add an igx-switch component with a label, for example:
    <igx-switch>Enable Feature</igx-switch>
  2. Hover the mouse pointer over the area between the label and the switch control.

Result

The cursor changes from pointer to default when hovering in the area between the label and the switch control.
Pointer

Expected result

The cursor should remain as pointer throughout the clickable region, including the gap between the label and the switch control, to ensure a consistent and intuitive experience.

Attachments

# for free to join this conversation on GitHub. Already have an account? # to comment