[Webkit-unassigned] [Bug 184905] New: Transforming an element into the viewport causes bugs until a reflow happens and the WK corrects itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 23 21:27:44 PDT 2018


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

            Bug ID: 184905
           Summary: Transforming an element into the viewport causes bugs
                    until a reflow happens and the WK corrects itself
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jackhanford at gmail.com
                CC: dino at apple.com

I've noticed a bug where in my webkit based browsers (latest webkit build, Safari on my mac (10.13) and iOS 11.3) .. after animating an element into the viewport via `translate3d`, sometimes the parent elements height/width aren't properly calculated until a reflow occurs. (Easy repro, is by resizing the viewport)

I'm able to reliably reproduce this issue on this URL: https://dist-okumnjynhx.now.sh 

I've also recorded a video to help demonstrate the bug: https://d.pr/v/WYTlbj

I can link to code if it's helpful, though I noticed it while building a react plugin, so there are few abstractions on top.

The environment above works as expected in both firefox and chrome.

Let me know if there is any additional information that would help debug!

-- 
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/20180424/24702544/attachment.html>


More information about the webkit-unassigned mailing list