Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent floating animation when there is already a default value setted #147

Closed

Conversation

Hantex9
Copy link

@Hantex9 Hantex9 commented Jan 23, 2023

Intro

A while ago I used this library in order to have floating label inputs on a personal react-native project and I faced on the following issue #133, later on i fixed it on the project and i'm opening this PR in order to share with you the fix that can be really useful for those people like me that doesn't want to see the label animation fired on inputs with a value already provided before the component render.

Details

When there was a default value setted, the floating animation was fired on the component render even if there was not focused, providing a UI bug as showed in the issue #133.

@Hantex9
Copy link
Author

Hantex9 commented Feb 3, 2023

@Cnilton Hi, can you take a look?

@Cnilton
Copy link
Owner

Cnilton commented Nov 4, 2023

@Hantex9, sorry for taking so long.. but I tested your solution and still isn't right. I will try to fix this.

@Cnilton
Copy link
Owner

Cnilton commented Nov 4, 2023

Can you please try the latest version, 1.4.3?

@Cnilton Cnilton closed this Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants