HubSpot/odometer

If element is hidden the counter doesn't goes to single 0

aajahid opened this issue · 0 comments

If the counter count down from a big number to zero, the default behavior is - it eventually gets to single 0. ex - 200 to 0
But if by any chance the odometer element is hidden, it retain the number length. Ex - 200 to 000.

Here is jsfiddle, which might give you better understanding what I'm saying -
http://jsfiddle.net/y2dp20aj/2/

My expected behavior is in both case ( whether if the element is visible or not ) it should go to a single zero.