[Webkit-unassigned] [Bug 176896] Wrong caret position for input field inside a fixed position parent on iOS 11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 16 04:38:12 PST 2017


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

--- Comment #33 from Manuel Otto <manuel at tigmar.de> ---
Created attachment 327055

  --> https://bugs.webkit.org/attachment.cgi?id=327055&action=review

Workaround #1 with js

The only way I found to prevent this bug is by setting the scroll-position (body.scrollTop) to 0. In order to keep the input in place it's possible to modify the modal's position (style.top).

The drawbacks with this approach are:
- Unexpected change of scroll position of the document
- Impossible to scroll up while in focus once the modal has been shifted upwards (due to scrollTop being 0)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171116/ce0c1e49/attachment.html>


More information about the webkit-unassigned mailing list