react-animated-numbers
react-animated-numbers copied to clipboard
Using a locale with a blank space thousand separator shows a 0 instead of a blank space
Example locale: sv-SE
This locale should use a blank space as the thousand separator, however it instead shows a 0.
This is caused by rows 26-28 in index.jsx:
const animateToNumbersArr = Array.from(animateTonumberString, Number).map( (x, idx) => (isNaN(x) ? animateTonumberString[idx] : x) );