[Webkit-unassigned] [Bug 125150] New: Focus element is calculated after 300ms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 3 06:08:06 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125150

           Summary: Focus element is calculated after 300ms
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tingan87 at gmail.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list