[Webkit-unassigned] [Bug 172854] New: Window.scrollTo is not working in iframe on mobile safari.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 2 05:25:17 PDT 2017


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

            Bug ID: 172854
           Summary: Window.scrollTo is not working in iframe on mobile
                    safari.
           Product: WebKit
           Version: Safari 10
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m.samsel at cksource.com

Summary:
Executing method Window.scrollTo(x, y) in mobile safari do not scroll content to proper position.
Desktop version work properly.

Steps to Reproduce:
1. Create web page.
2. Insert iframe on this page.
3. iframe need to contain some JS which will call scrollTo() function.
4. Run this method.
5. Scrolling is not happen.

Expected Results:
Iframe will scroll to proper position.

Observed Results:
Iframe do not scroll to proper position.

Version:
Safari Mobile 10.3.2 (14F89) newest version from AppStore (valid on 2017-06-02)
tested on iPad and iPhone SE.

Notes:
Example code used to test:
https://jsfiddle.net/dxket17g/2/
https://gist.github.com/msamsel/c2db20163786594f7c4c3307c23f3d92

-- 
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/20170602/a4f2878f/attachment-0001.html>


More information about the webkit-unassigned mailing list