[Webkit-unassigned] [Bug 138201] Text input's cursor doesn't move while scrolling the page on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 15 21:29:13 PDT 2016


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

--- Comment #20 from Josh Pike <pikatore at gmail.com> ---
Found a workaround!

This workaround is partially in angular.js but should work with any JS framework (or pure JS).

On tapping an input field, I used $location.hash to jump to the field above it straight after focus, which caused the input cursor to stay where it was.

If I just trigger a .blur() then a focus() about 300-400 ms after the scroll jumped, the input cursor 'reset' its position to the correct one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160316/2bfbd614/attachment-0001.html>


More information about the webkit-unassigned mailing list