react-native-floating-label-input
react-native-floating-label-input copied to clipboard
Prevent floating animation if there is default value
Hello, I need that floating animation doesn't start if there is default value setted preventing the following UI bug effect:
https://user-images.githubusercontent.com/34343582/175095192-d0c984ec-bce2-471f-9366-0b654180c5e2.mp4
There is some property that I can edit to achieve what I'm looking for?
Hi @Hantex9, could you please try setting animationDuration to a very low value, like 50, or even lower? This would be a workaround, and then I'd treat this.
Hi @Cnilton, setting animationDuration to a value low than 50 (i.e. 20) seems to be a workaround but if i run the app on a slow device, it is still visible the transaction. Anyway let me know when you can fix it with a solution.
Thanks!
Thank you for this very useful library @Cnilton ! I also have this problem. The very low value on animationDuration just speeds up the animation but I can still see it. No idea yet on how to fix this for all devices ? Otherwise I'll try to find a quick fix.
Provided PR #147 that solve the issue
Hi @Hantex9, I'll take a look!