React-native: Layout animation collision on Alert call with KeyboardAvoidingView

Created on 28 Oct 2016  路  15Comments  路  Source: facebook/react-native

Description

Calling Alert with focused TextInput (Keyboard is open) wrapped in KeyboardAvoidingView causes warning:

Warning: Overriding previous layout animation with new one before the first began:
{
    duration = 250;
    update =     {
        duration = 250;
        type = keyboard;
    };
} -> {
    duration = 404;
    update =     {
        duration = 404;
        type = keyboard;
    };
}.

And should input become focused after alert dismiss or not? Now i do it manually but in older versions seems it was automatically

Reproduction

https://rnplay.org/apps/5lB8-A

Additional Information

  • React Native version: 0.36
  • Platform: iOS 10
  • Operating System: MacOS
TextInput Author Provided Repro iOS Stale

Most helpful comment

Similar issue here

All 15 comments

+1

+1

+1

+1, hope this gets some attention.

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!

If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

  • Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
  • If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
  • Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

I'm having this issue atm.

Similar issue here

Same issue

Anything new on this issue? I am facing the same thing and would like to get rid of the warning

+1

I am facing same issue on IOS

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

I kinda hate that bot.

@neiker Me too brother. Me too...

Was this page helpful?
0 / 5 - 0 ratings