[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 Sep 21 12:35:57 PDT 2017


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

James Ravenscroft <jr.ravenscroft at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jr.ravenscroft at gmail.com

--- Comment #2 from James Ravenscroft <jr.ravenscroft at gmail.com> ---
I'm also seeing an issue I believe is related to this one, though it's likely an iOS-related bug:

https://codepen.io/jrwebdev/pen/aLZEMx/

When focusing on the input within the fixed positioned red box on an iPad, the keyboard appears and the red box is positioned correctly, but the browser believes that the elements within it are elsewhere, so clicking on the "Hello" button does not trigger the alert. Scrolling with the keyboard open allows the browser to recalculate the position of the elements correctly so the button can be clicked and the cursor reappears in the text input. I've tried the usual hacks to force a reflow/repaint, but they do not have any effect.

I've tested this on iOS 9, 10 and 11 and it only occurs on 11, in both Safari and Chrome. The devices I tested using iOS 11 were an iPad Air 2 and an iPad Pro.

-- 
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/20170921/05dcdbdc/attachment.html>


More information about the webkit-unassigned mailing list