<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Text input's cursor doesn't move while scrolling the page on iOS"
href="https://bugs.webkit.org/show_bug.cgi?id=138201#c20">Comment # 20</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Text input's cursor doesn't move while scrolling the page on iOS"
href="https://bugs.webkit.org/show_bug.cgi?id=138201">bug 138201</a>
from <span class="vcard"><a class="email" href="mailto:pikatore@gmail.com" title="Josh Pike <pikatore@gmail.com>"> <span class="fn">Josh Pike</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>