coderitual/bounty

"initialValue" to "value" does't work well on Firefox

francesco-incomedia opened this issue · 8 comments

Hi,
I've noticed that if you use "initialValue" option on Firefox, sometimes some digits disappears. Here a test:

https://codepen.io/anon/pen/ZROMgd

bounty.default({ el: '.js-bounty', value: '£40,000,000', initialValue: '£10,000,000' })

The "4" of "£40,000,000" disappears at the end of the animation.

Hi @francesco-incomedia! Thanks for reporting the problem. It looks like you're right and the problem actually occurs as you described it. I will take a closer look at this

@coderitual Thanks! Please let us know

@francesco-incomedia Hey, there is some bug with motion filter value for the first digit. Not sure yet why there was so big number applied to it. I am quite busy at the moment but I will try to fix this as soon as possible.

@coderitual any news about this bug?
Thanks!

@francesco-incomedia Hi! sorry for the long time. Aparently there is another bigger bug I have encountered during this investigation. Not sure whether you saw it:

2018-06-20_18-21-39

I have a busy time atm and it might be around a week I will fix this. Of course any PR and help would be appreciated!

@francesco-incomedia All the issues causing digits to disappear should be fixed now. Both the one you descirbed and another one I've posted above. It's published on npm in version 1.2.0.

Thanks!
Could you please provide me the unminified version of bounty please?

Np. Did you mean not minified es5? or not minified es6 (source is es6 + staged and experimental features)?