[Webkit-unassigned] [Bug 198347] New: Visual Viewport resize not firing when keyboard opens
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 29 13:00:08 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198347
Bug ID: 198347
Summary: Visual Viewport resize not firing when keyboard opens
Product: WebKit
Version: WebKit Nightly Build
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ldebeasi at gmail.com
When opening the virtual keyboard on iOS, I would expect the visual viewport height to be updated and the visual viewport resize event to be fired; however, this is not happening.
I created a CodePen to demonstrate the issue: https://s.codepen.io/liamdebeasi/debug/KLGwJN/nqkwvGNEOXNA
Here is the source code: https://codepen.io/liamdebeasi/pen/KLGwJN
Expected Behavior:
Bringing focus to the top-most input opens the keyboard, which in turn causes the visual viewport height to be updated and the visual viewport resize event to be fired.
Actual Behavior on Safari for iOS:
The visual viewport height is not updated, and the resize event is not fired.
Actual Behavior on Chrome for Android (for comparison):
The visual viewport height is updated, and the resize event is fired.
I have tested this on iOS 12.3 release and 12.4 beta 3. Additionally, I have tested this on "trunk" using a build from May 29, 2019 (I cloned the repository, compiled it, and opened my CodePen in the "iPhone for WebKit Development" iOS Simulator).
This is related to https://bugs.webkit.org/show_bug.cgi?id=193475, but this functionality does not seem to be working properly.
--
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/20190529/6b6b84df/attachment.html>
More information about the webkit-unassigned
mailing list