bfintal / Counter-Up

Counter-Up is a lightweight jQuery plugin that counts up to a targeted number when the number becomes visible.
http://bfintal.github.io/Counter-Up/demo/demo.html
GNU General Public License v2.0
746 stars 719 forks source link

it's bugging and stopping the site #54

Closed kyrie08 closed 7 years ago

kyrie08 commented 7 years ago

The problem exists on the mainpage, but the client needs it to be hidden from public view so I moved it here: https://www.reseaualimentaire.com/open1

I tried to specify the type size but it's not changing it. And the counter is also weird. It used to count right up to the number in a few secs even if it was a huge number but now it takes forever, and won't count all the counters at the same time. (So it takes forever to do the first large number, while everything else stays "0".

It worked fine long after we updated wordpress to 4.8.1

Today all I did was switch the positions of the counters and it started fucking up. Even if I create a new one, on a separate page (so I know there are no weird classes settings etc. affecting it)

kyrie08 commented 7 years ago

OK, I've figured out the problem... For some reason, for the first counter (the one positioned on the leftmost column) if the number was super big, it doesn't work. In that case it keeps counting up, taking minutes to do so, while everything else initially loads the right number, then goes to zero.

Initially our super-big number was in the middle, then it got dragged to the leftmost column.