Skip to content

Fix toggle interactions - #2738

Merged
calebporzio merged 3 commits into
mainfrom
filip/fix-toggle-cursor
Aug 15, 2026
Merged

Fix toggle interactions#2738
calebporzio merged 3 commits into
mainfrom
filip/fix-toggle-cursor

Conversation

@ganyicz

@ganyicz ganyicz commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

The scenario

The toggle shows selection cursor and allows text selection, which is inconsistent with button

Additionally, clicking the toggle repeatedly causes zoom on mobile

Screen.Recording.2026-08-14.at.15.00.14.mov

The problem

HTML button displays the default cursor and prevents selection / zoom by default.

The toggle is composed of ui-switch which does not have these properties.

The solution

Add select-none and touch-manipulation classes to mimic button behavior.

@ganyicz
ganyicz marked this pull request as draft August 14, 2026 12:46
@ganyicz ganyicz changed the title Fix toggle cursor Fix toggle interactions Aug 14, 2026
@ganyicz
ganyicz marked this pull request as ready for review August 14, 2026 13:06
@calebporzio

Copy link
Copy Markdown
Contributor

amazing. thanks

@calebporzio
calebporzio merged commit 9dbe629 into main Aug 15, 2026
1 check passed
@calebporzio
calebporzio deleted the filip/fix-toggle-cursor branch August 15, 2026 14:27
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

Successfully merging this pull request may close these issues.

2 participants