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

Do not animate layout if keyboard state is not changed. #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

datso
Copy link

@datso datso commented Oct 23, 2017

I've found that closing a modal cause keyboard to open and then immediately hide, which causes multiple calls of resetKeyboardSpace function, and this causes an error:
Warning: Overriding previous layout animation

Which affects Modal somehow, because it could not be hidden after this warning.

@cyb3rsalih
Copy link

I am still getting this warning. Is there a way that hide this in the production version?

@szilarddoro
Copy link

This pull request fixed the "Warning: Overriding previous layout animation..." issue.

SnaiNeR added a commit to maxiru/react-native-keyboard-spacer that referenced this pull request Jun 10, 2020
Andr3wHur5t#66
I've found that closing a modal cause keyboard to open and then immediately hide, which causes multiple calls of resetKeyboardSpace function, and this causes an error:
Warning: Overriding previous layout animation

Which affects Modal somehow, because it could not be hidden after this warning.
@agestaun
Copy link

same issue

@abhishrek
Copy link

Getting this warning on latest package.

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.

6 participants