Bug 216077 - REGRESSION (r241734): [iOS] Changing the value of a select element and tapping on another results in two changes
Summary: REGRESSION (r241734): [iOS] Changing the value of a select element and tappin...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad iOS 13
: P2 Major
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-02 09:00 PDT by kenny
Modified: 2020-09-04 08:44 PDT (History)
7 users (show)

See Also:


Attachments
Patch (7.21 KB, patch)
2020-09-03 11:42 PDT, Aditya Keerthi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kenny 2020-09-02 09:00:27 PDT
How to reproduce:
The code is here: https://codesandbox.io/s/recursing-antonelli-ihcrc?file=/index.html
You can go to https://ihcrc.csb.app/ from Safari on an iOS 13 device or simulator.

1. Press on the first select element. This should open up the native select option wheel.
2. Scroll to option 'B' (do NOT press 'Done', leave the wheel open)
3. Press on the second select element. 
4. Notice that it is has selected option '2', and if you open the console you will notice two logs from both select's onchange event.
Comment 1 kenny 2020-09-02 09:22:06 PDT
Forgot to mention:
This does NOT happen on ios 12, so it seems to be something that was introduced in 13.
Comment 2 Radar WebKit Bug Importer 2020-09-02 12:26:11 PDT
<rdar://problem/68225873>
Comment 3 Aditya Keerthi 2020-09-03 11:42:16 PDT
Created attachment 407903 [details]
Patch
Comment 4 EWS 2020-09-04 08:44:13 PDT
Committed r266610: <https://trac.webkit.org/changeset/266610>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 407903 [details].