New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 794957 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Checkboxes and radio button label must be double-clicked to toggle if default is prevented and there is a non-collapsed selection

Reported by joolscha...@gmail.com, Dec 14 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Example URL:
https://jsfiddle.net/JoolsCaesar/5wuk5g7k/

Steps to reproduce the problem:
1. Navigate to the above URL
2. Select the word (or subset of) "Anything" or "Something"
3. Click the checkbox label, "My checkbox"

What is the expected behavior?
The checkbox should toggle.

What went wrong?
The checkbox does not toggle.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: stable
OS Version: 10.0
Flash Version: 

It will however toggle if you double click the label.
It will also toggle if deselect any selected text

I don't care if the text gets deselected or not so I've added a workaround which manually deselects the text. Activate this by hitting the "Fix" button.

This applies to both checkboxes and radio buttons.
 
Animated gif of issue:
toggle.gif
168 KB View Download
This issue occurs even if the input field is disable after a selection has been made (e.g. unchecking the checkbox disables it). 

Comment 3 by gov...@chromium.org, Dec 14 2017

Cc: ranjitkan@chromium.org pbomm...@chromium.org brajkumar@chromium.org
Labels: Needs-Triage-M63
Components: -Blink Blink>Input
Owner: nzolghadr@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: -Pri-2 Needs-Feedback Pri-3

Sign in to add a comment