[Webkit-unassigned] [Bug 229403] WKWebView: Major delay on page load for animating composited values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 23 08:50:46 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229403
--- Comment #5 from Matt Perry <mattgperry at gmail.com> ---
Further experimentation:
On my iPhone, the composited animations take almost exactly 14 seconds to start. It isn't bound to `duration`; if `duration` is 2s then it'll start after 7 iterations, 15s partially into the second iteration.
The `animate` call can be wrapped in a timeout of this duration, when triggered it will take another 14s for the composited animations to start. So this doesn't seem bound to the global timeline.
Manually pausing the animation and driving it by setting `currentTime` in a `requestAnimationFrame` loop will fix the animation:
https://fexji.csb.app/
Source: https://codesandbox.io/s/waapi-webkit-iteration-timing-bug-forked-fexji?file=/src/index.js:459-644
--
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/20210823/b7e1206a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list