[Webkit-unassigned] [Bug 268273] New: iPad: value set to <select> form by JavaScript is not applied to popup UI until blur
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 28 21:28:07 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=268273
Bug ID: 268273
Summary: iPad: value set to <select> form by JavaScript is not
applied to popup UI until blur
Product: WebKit
Version: Safari 17
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: baba at bpsinc.jp
CC: cdumez at apple.com, wenson_hsieh at apple.com
Created attachment 469589
--> https://bugs.webkit.org/attachment.cgi?id=469589&action=review
screenshot
Steps to reproduce:
1. Open https://jsbin.com/tawelomajo/1/edit?html,js,output by iPad (not iPhone) Safari.
2. Touch the select box. Change the value to "2" on shown popup UI.
3. Re-touch the select box.
Expected behavior:
Both of them should be "1":
- the displayed value on HTML
- the default value in popup UI shown by step 3.
Actual behavior:
The displayed value on HTML is "1", but the default value in popup UI is "2".
The latter will be fixed when the <select> loses focus by touching anywhere or calling "blur()".
Note:
All browsers other than iPad Safari works correctly.
On iPhone Safari, the <select> automatically loses focus after changing value so the issue cannot be reproduced.
--
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/20240129/8eac3afe/attachment.htm>
More information about the webkit-unassigned
mailing list