WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
125150
Focus element is calculated after 300ms
https://bugs.webkit.org/show_bug.cgi?id=125150
Summary
Focus element is calculated after 300ms
Tingan Ho
Reported
2013-12-03 06:06:26 PST
I have tried to remove the 300ms delay on some inputs(see attached video below). I call element.focus on the respective element I want to focus. It works fine in some elements. Though I noticed if there is a native focus animation, that require the web page to scroll to vertically center an input. The web browser wait for the 300ms and than figure out which element was touched and it doesn't take into account that the web page have moved. So if the input is not under "your finger" after 300ms you focus on that input is lost. See attached video. it explains the bug better than the text.
Attachments
This video describes the bug
(10.04 MB, video/mp4)
2013-12-03 06:08 PST
,
Tingan Ho
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tingan Ho
Comment 1
2013-12-03 06:08:00 PST
Created
attachment 218290
[details]
This video describes the bug This video describes the bug
Lucas Forschler
Comment 2
2019-02-06 09:18:31 PST
Mass move bugs into the DOM component.
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