Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

102
Views
Animation CSS/JS Jerky on Android and sometime PC

I create a Periodic Table Apps and I create an animation where Element move from initial position to center of window, but transitions are Jerky. To do this I Create a Copy of this Element (clicked) and change is Class.

enter image description here

Animation are made from CSS (updating class which has other Left/Top/Translate values) and few are coming from JS (for example : x.style.left = y)

I also tried to create CSS ROOT values and update them with JS, but same problem. I Also tried to remove maximum JS which is not necessary. Tried Request Animation Frame "everywhere" too.

I am not using Plugins, it's a VanillaJS App made With Isotope. Do you know why is this laggy ? Are there too many elements in my DOM ? Or Maybe i Am doing wrong ? Love this kind of transition, so I really Want to know how i can optimise it !

Here is a Link for my Project JavaScript (Might be updated frequently).

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I recently had a similar problems with jerky/laggy animation with a slider.

The conclusion was that animation should be done with transform properties, not with top/bottom/left/right and neither with margin or padding.
Here are two posts I found that explain the problem:
Laggy CSS animation
Why transitions for some CSS properties are slow and none fluent

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!