-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Issue on Safari (Mobile & Web) #1085
Comments
I have the same issue, the performance into chrome is perfect but thats not the case with Safari its lagging, when the parent state is too large more and more lagging it would be |
This comment has been minimized.
This comment has been minimized.
Same issue in non dom renderers like https://reactpixi.org and https://github.com/konvajs/react-konva, using Not sure if it's helpful, but using https://greensock.com/gsap on same renderers doesn't seem to cause performance issues. |
If you can provide an example repro that'd be great. I've never used Konva before |
Looking at the attached sandbox, this SO question might be related. Unfortunately, I can't recreate this issue without a physical Apple device to investigate. |
Got the same issue with react-konva on both Mac and Windows when upgrading from v8 to v9. Not sure if the issue with react-konva is related to the originally reported issue. The performance degradation seems to start with version 9. Codesandbox with a simple react-konva animation using version 9, performance is noticeably worse: |
The linked stackoverflow answer resolved the issue for me. |
Nice yeah can confirm this still works and solved my problem as well. Just went from <animated.div
style={{
...fade,
}}
>
{children}
</animated.div> to <animated.div
style={{
transform: "translate3d(0, 0, 0)", // Just added this
...fade,
}}
>
{children}
</animated.div> |
🐛 Bug Report
The following example is very laggy while running on safari , though it is very smooth on Chrome Android
To Reproduce
https://codesandbox.io/embed/j0y0vpz59
Steps to reproduce the behavior:
View the above url on iOS
The text was updated successfully, but these errors were encountered: