Closed Bug 1852827 Opened 2 years ago Closed 2 years ago

Make the area between the label and the toggle button clickable

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: hjones, Assigned: hjones)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

Ideally the whitespace between the label and the toggle button should be considered part of the label, so that if it's clicked on it triggers a change in the toggle state. This is how some of the previous toggles behaved and is more expected. Implementing this may also allow us to clean up some tests by using synthesizeMouseAtCenter - previously this didn't work because clicking the center of a toggle with a label would have no effect.

Assignee: nobody → hjones
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad7594fb380c extend the label so moz-toggle whitespace is clickable r=reusable-components-reviewers,desktop-theme-reviewers,dao,mstriemer
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: