DEV Community

Discussion on: Creating an Animated TextField with React Native

Collapse
 
belinde profile image
Franco Traversaro

I'm on the phone an I cannot try now: did you test it with Chrome's autofill (the light yellow one, for logins and personal information)? If I remember correctly, the form isn't in state "filled" and yet has content shown, and I've often see it disrupt this kind of effects.
Precog bug report 😁

Collapse
 
halilb profile image
Halil Bilir • Edited

Thanks for the feedback Franco. I actually didn't think that through as I intended this for react-native use. But it might still be used on the web with react-native-web.

So I checked it over the demo on my blog(bilir.me/blog/creating-an-animated...) and it the background color doesn't match when the user auto completes the input:

ss

This should be easily fixed if there is a way to understand the form is autocompleted. Not sure about it though.

Collapse
 
belinde profile image
Franco Traversaro

I've completely missed the "native" in the title! My fault 😂