[Webkit-unassigned] [Bug 170982] New: Consider implementing the VisualViewport API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 19 01:03:11 PDT 2017


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

            Bug ID: 170982
           Summary: Consider implementing the VisualViewport API
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rbyers at chromium.org
                CC: cdumez at apple.com

After the fix for bug 170981 it becomes impossible for a page to tell when the visual viewport changes (eg. user has pinch-zoomed, OSK is displayed).  There are a few rare use cases where this is really desirable.  For example when composing a tweet on twitter.com in Chrome the toolbar (add picture, location, characters left, etc.) sticks just above the keyboard.  On Safari Twitter uses a worse UI where the add picture button is just at the bottom of the text, and the characters left is at the top right.

To address these use cases we propose the VisualViewport API: https://github.com/wicg/viewportapi

What do WebKit folks think about the use case here, potentially worth solving?

Regardless of whether the use case seems worth solving at the moment, does the VisualViewport API seem like a reasonable design?

-- 
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/20170419/e9758c6c/attachment-0001.html>


More information about the webkit-unassigned mailing list