question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

animation very laggy on firefox mobile

See original GitHub issue

Hi, I am using Motion, spring & translate3d for something like a menubar with transform: `translate3d(${x}vw, 0vw, 0) and x ranging from -100 to 0 etc.

Is there a workaround for this.

It works perfectly smooth on chrome though.

Thanks

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
nkbtcommented, Jul 20, 2017

Something like

<Motion>
  <Wrapper (with style, that is changed)>
    <ActualContent (connected to store, so it is never re-rendered when Wrapper is updated)>
1reaction
nkbtcommented, Jul 20, 2017

As a usual suggestion - make sure your children elements are not rerendered on every animation step. Make sure the only element rendered is the one with style. Also check prod mode, since prop checks are very slow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox laggy animation problem - Reddit
The lag exists even on Safe Mode, all add-ons disabled. I tried new install another Firefox, Developer Edition. Animation works smooth on fresh ......
Read more >
Laggy animation with requestAnimationFrame & scrolling
Device: Samsung Galaxy S3, Android 4.1.2 This is basically expected... We don't update scroll position constantly as we do asynchronous scrolling. While it'd...
Read more >
animation lagging in Firefox - Stack Overflow
First you need to remove the display: contents; in your .wrapper span and the animation will play smoothly.
Read more >
Animation slow/jerky (not smooth) in firefox - GSAP - GreenSock
Hi can anyone please help me find what is wrong with this animation, it works very well in chrome and IE but very...
Read more >
Load & Scroll Extremely Laggy in Safari - Forum | Webflow
... animations throughout the page. They behave smoothly on Chrome & Firefox, but suffer terribly in Safari. Chrome / Firefox (Smooth):. Safari (Super...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found