RESOLVED FIXED 191364
scrollable iframe incorrect focus positioning
https://bugs.webkit.org/show_bug.cgi?id=191364
Summary scrollable iframe incorrect focus positioning
k.vendrik
Reported 2018-11-07 08:18:44 PST
Moved from https://bugzilla.mozilla.org/show_bug.cgi?id=1503682#c3. Demo: https://bugzilla.mozilla.org/attachment.cgi?id=9021636. Steps to reproduce: Embedded a form in a scrollable iframe. Codepen with iframe: https://codepen.io/kvendrik/pen/ePqNvy Codepen with iframe contents: https://codepen.io/kvendrik/pen/vVoOgq Actual results: When focussing some of the fields the focus seems to be on elements that I'm not tapping on, sometimes in completely different positions. Expected results: The input that I tap on should focus.
Attachments
k.vendrik
Comment 1 2018-11-07 08:20:46 PST
k.vendrik
Comment 2 2018-11-09 12:33:15 PST
To clarify: https://bugzilla.mozilla.org/attachment.cgi?id=9023207 Demonstrates different the cursor having a different position than the input in mobile Safari. https://bugzilla.mozilla.org/attachment.cgi?id=9021636 Demonstrates the cursor having a completely different position than the input but also demonstrates a different input getting selected than I'm tapping on which is the more concerning bug imo (Mobile FF).
Radar WebKit Bug Importer
Comment 3 2018-11-12 10:55:32 PST
Antti Koivisto
Comment 4 2019-04-15 00:35:43 PDT
Seems to work fine in trunk.
Note You need to log in before you can comment on or make changes to this bug.