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

[Android] Unsupported interpolation type : keyboard #27839

Closed
djhr opened this issue Jan 22, 2020 · 6 comments
Closed

[Android] Unsupported interpolation type : keyboard #27839

djhr opened this issue Jan 22, 2020 · 6 comments
Labels
API: Keyboard Bug Needs: Attention Issues where the author has responded to feedback. Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@djhr
Copy link

djhr commented Jan 22, 2020

As reported in #23343 and incorrectly closed, LayoutAnimation.configureNext() on Android throw's error when using LayoutAnimation.Types.keyboard as type.

React Native version:

System:
    OS: macOS 10.15.2
    CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
    Memory: 12.61 GB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.6 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 24, 26, 27, 28
      Build Tools: 27.0.3, 28.0.3, 29.0.2
      System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
      Android NDK: 19.2.5345600
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.5 => 0.61.5

Steps To Reproduce

  1. On Android run the following code
const animation = LayoutAnimation.create(250, LayoutAnimation.Types.keyboard, 'opacity');
LayoutAnimation.configureNext(animation);
this.setState(...);

Describe what you expected to happen:
App not to throw error

Snack, code example, screenshot, or link to a repository:

Screenshot 2020-01-22 at 16 59 42

@hramos
Copy link
Contributor

hramos commented Jan 22, 2020

Did you add the UIManager.setLayoutAnimationEnabledExperimental(true); code snippet from https://facebook.github.io/react-native/docs/layoutanimation?

@djhr
Copy link
Author

djhr commented Jan 28, 2020

Did you add the UIManager.setLayoutAnimationEnabledExperimental(true); code snippet from https://facebook.github.io/react-native/docs/layoutanimation?

Yes

@yaserloz
Copy link

yaserloz commented Feb 21, 2020

I have the same pronlem, UIManager.setLayoutAnimationEnabledExperimental(true); is enabled in the code, the problem is in LayoutAnimation.configureNext({ duration, update: { duration, type:"keyboard" } }), what is the reason for this error?

System:
    OS: Windows 10 10.0.18362
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 740.91 MB / 7.85 GB
  Binaries:
    Node: 12.14.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.0 - D:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.13.4 - D:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 27, 28
      Build Tools: 28.0.2, 28.0.3, 29.0.1, 29.0.3
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
  npmPackages:
    react: 16.12.0 => 16.12.0
    react-native: 0.61.5 => 0.61.5

@no-response
Copy link

no-response bot commented Mar 4, 2020

It's been three weeks since we asked for additional information from the author of this issue. As it happens, we don't have enough information to take action. We are going to close this issue, but please do not hesitate to open a new issue if you are still encountering this problem.

@no-response no-response bot closed this as completed Mar 4, 2020
@hramos hramos added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Mar 5, 2020
@hramos hramos reopened this Mar 5, 2020
@stale
Copy link

stale bot commented Jun 3, 2020

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 a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 3, 2020
@stale
Copy link

stale bot commented Jun 10, 2020

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.

@stale stale bot closed this as completed Jun 10, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Jun 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Keyboard Bug Needs: Attention Issues where the author has responded to feedback. Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants