[Webkit-unassigned] [Bug 199485] New: Single selection <select> with <optgroups> shows multiple selected options
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 3 17:34:49 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199485
Bug ID: 199485
Summary: Single selection <select> with <optgroups> shows
multiple selected options
Product: WebKit
Version: Safari 12
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joaope at gmail.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
Created attachment 373443
--> https://bugs.webkit.org/attachment.cgi?id=373443&action=review
Multiple selected option on a single-selection <select>
For a <select> using <optgroup>'s and without multiple option, user is able to select multiple items. Reproduced on an iPhone 12.3.1 but I can see the same behaviour in previous versions.
How to reproduce:
1. Go to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup#Example (or any other website with select/optgroup)
2. Select first option
3. Scroll all the way down to the last option
4. Select last option
Both options are now selected.
The trick to reproduce seems to be scrolling enough to hide the current selection from the screen and then select another option.
It seems a visual bug as JavaScript correctly indicates the current selection. Also using JavaScript to un-select all options but the current one doesn't seem to work (as a workaround).
Screenshot in attachment.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190704/422cb283/attachment-0001.html>
More information about the webkit-unassigned
mailing list