Problem with more than 2 odometers!
Closed this issue · 5 comments
Hi, I've craeted a Pen on codepen.io; here it is: http://codepen.io/ershad989/pen/WGwjqj
As you can see I've defined 3 odometers but only of them shows up!!
The other problem is that if one of the numbers has 3 digits and the other one has 4 or more digits only 3 of them is visible!!
So here we have three numbers, 1st one has 3 digits, 2nd one has 4 digits and the 3rd one has 5 digits.
when I run the function only three digits shows up for just two of the numbers.
How can I solve this problem?
Hi! Unfortunately it is caused by internal implementation (using global id's of elements instead of references) Also applying filters is possible only using filter id. Simple solution would be to have unique prefix/salt added to elements identifiers. I will try to fix this problem. Thanks for raising it.
You're most welcome and thank you too for your qick reply.
I don't know if you've noticed but I mentioned 2 problems! are they both beacuse of internal implementation?
Here is another Pen. I think I followed your advice but it's still not working: http://codepen.io/ershad989/pen/ALXrgY
Would it be possible if you create a Pen and show me how to temporarily solve it until you fix the bug?
Yea, both of them are cased by the implementation. Because of font loading issue width of the layer is computed every frame and one instance could easily override a settings of the others. Once I get access to my laptop I'll show you what I mean.
This should be fixed now. http://codepen.io/coderitual/pen/GjqypE
On my pen I use dev branch but it's merget to the master as well. Not sure why git cdn from master keeps old cached value.