[Webkit-unassigned] [Bug 198737] New: The whole viewport shifts down when calling focus() on a contenteditable which may be focused natively

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 17:59:46 PDT 2019


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

            Bug ID: 198737
           Summary: The whole viewport shifts down when calling focus() on
                    a contenteditable which may be focused natively
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xidorn-webkit at upsuper.org

Created attachment 371800

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

testcase

Steps to reproduce:
1. open the testcase on iPhone
2. click the rectangle on the bottom

Expected result:
The viewport should shift up and put the rectangle input in the view

Actual result:
The viewport briefly shifts down a lot, and then shifts back, but at the end, the rectangle is out of view.


Based on experiment with Simulator, it seems to be significant when software keyboard is triggered. If you use Simulator, and enable "Slow Animations" in Debug menu, you would see that the whole viewport shifts down a lot and slowly moves up.

I tested on a real iOS 12 device as well as Simulator.

-- 
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/20190611/0ad9b9c2/attachment-0001.html>


More information about the webkit-unassigned mailing list