WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
239655
Focus event fired unnecessarily on mobile devices after interacting with a select box
https://bugs.webkit.org/show_bug.cgi?id=239655
Summary
Focus event fired unnecessarily on mobile devices after interacting with a se...
Andrew
Reported
2022-04-22 07:58:51 PDT
Originally raise here
https://bugs.chromium.org/p/chromium/issues/detail?id=1316314
Reproduction:
https://jsfiddle.net/amk221/z3fdtj2y/
When a select box is interacted with using a mouse on a desktop, and that select box is inside a focusable element, then focus stays within that element. This is correct and works fine. The same scenario but run on a mobile device (where select boxes are often rendered differently), causes focus to leave the _container_ element (which it shouldn't do because focus is still on the select box which is a child of the container). I believe this is in correct behaviour and that the two scenarios should match each other.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-04-29 07:59:12 PDT
<
rdar://problem/92523984
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug