transitions icon indicating copy to clipboard operation
transitions copied to clipboard

Android/iOS Optimizations?

Open ghost opened this issue 8 years ago • 3 comments

Any suggestions for optimizing these transitions for Android / iOS?

They work, but they don't work smoothly. I'm using the Slide Out/In transition and it kind of hangs on the transition for about 500 miliseconds then rushes through the transition. I've tried general optimization techniques for mobile such as: -webkit-transform: translateZ(0); -webkit-backface-visibility: hidden;

etc.

Any suggestions?

ghost avatar Jun 23 '16 21:06 ghost

@chriskgregory - When I wrote this package I hadn't used it much on Android. Since then I haven't had much luck with getting CSS transitions working smoothly on Android devices, especially older ones. If you're already forcing hardware acceleration with translateZ then I don't have anything else to suggest I'm afraid.

jamielob avatar Jun 23 '16 21:06 jamielob

I'll probably dig into the source code and use Velocity which for me works well :) Love the package by the way, really looks great.

Thanks for the quick response!

ghost avatar Jun 23 '16 22:06 ghost

No problem. Pull requests welcome!

jamielob avatar Jun 24 '16 08:06 jamielob