HubSpot / odometer

Smoothly transitions numbers with ease. #hubspot-open-source
http://github.hubspot.com/odometer/docs/welcome
MIT License
7.32k stars 715 forks source link

Experiencing some lag when scrolling #62

Open ghost opened 10 years ago

ghost commented 10 years ago

Really cool plugin. However, i'm trigging the numbers animation on scroll and when it comes to the point, numbers do really slow down a bit the site scrolling and general performance.

I understand this type of effect cannot be achieved 100% via CSS4, but is anyone else experiencing this issue?

I've implemented odometer in a one-page site with some other plugins like wow.js, stellar.js etc...

ghost commented 10 years ago

CSS3 sorry.

ghost commented 8 years ago

I am using this with mCustomScrollbar and experience some extreme lag whenever odometer runs, when it's not running everything else seems to work smoothly.

Tho, it appears that Odometer isnt just effecting the scrolling feature, it's also interfering / creating laggy experience on all other JS elements and even pre-existing css animations on completely indepdendent elements.