This repository was archived by the owner on Nov 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 55
This repository was archived by the owner on Nov 12, 2024. It is now read-only.
[Bug] Old documentation about webkit & iOS14(ans less) #265
Copy link
Copy link
Open
Labels
FeatureFeature requestFeature request
Description
Is your feature request related to a problem? Please describe.
I was reading the doc clarification : https://motion.dev/docs/improvements-to-the-web-animations-api-dx
And at the end of the page about the Webkit bug, it seems not updated :
[Webkit bugfixes](https://motion.dev/docs/improvements-to-the-web-animations-api-dx#webkit-bugfixes)
Unlike Firefox or Chrome, Webkit's implementation of WAAPI is still a little buggy.
Part of Motion One as a project is finding and filing bugs in WAAPI across all browsers, and where possible fixing them for users of the library. So far, we've filed a handful of bugs:
[Timing issues between accelerated and non-accelerated animations](https://bugs.webkit.org/show_bug.cgi?id=229399)
[Incorrect keyframe generation](https://bugs.webkit.org/show_bug.cgi?id=229398)
[WKWebView: Major delays for accelerated animations](https://bugs.webkit.org/show_bug.cgi?id=229403)
By using Motion One instead of WAAPI, you won't have to worry about shipping these bugs to users.
In regards specifically to the outstanding accelerated animation bugs, we've sadly made the choice to disable accelerated animations in Webkit until they're fixed.
You can still pass allowWebkitAcceleration to switch these back on:
animate(
element,
{ transform: "translateX(100px)" },
{ allowWebkitAcceleration: true }
)
But if you choose to do so, we recommend testing such animations in iOS thoroughly, including Safari and Chrome iOS (as different bugs exist in each).
Already the "major delays" bug is fixed in iOS 15, and we'll keep an eye on OS adoption before enabling accelerated animations by default.
Current market share :
https://telemetrydeck.com/blog/ios-market-share-04-24/
Describe the solution you'd like
update doc about it
Describe alternatives you've considered
remove this from doc and support it by default.
Metadata
Metadata
Assignees
Labels
FeatureFeature requestFeature request