Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Unsupported layout animation createConfig property (null) #28

Closed
bright-sea opened this issue May 25, 2015 · 4 comments
Closed

Unsupported layout animation createConfig property (null) #28

bright-sea opened this issue May 25, 2015 · 4 comments

Comments

@bright-sea
Copy link

In linear animation mise to set property: LayoutAnimation.Properties.opacity, see
facebook/react-native#1135 (comment)

Here is code in Animation.js:

   linear: {
      duration: 300,
      create: {
        type: LayoutAnimation.Types.linear,
      },
      update: {
        type: LayoutAnimation.Types.linear,
        springDamping: 0.7,
      },
    },

It should be:

   linear: {
      duration: 300,
      create: {
        type: LayoutAnimation.Types.linear,
        property: LayoutAnimation.Properties.opacity,
      },
      update: {
        type: LayoutAnimation.Types.linear,
        springDamping: 0.7,
        property: LayoutAnimation.Properties.opacity,
      },
    },
@piyushchauhan2011
Copy link
Contributor

Thanks @bright-sea, my issue of createConfig error is resolved with the following code.

@Kureev
Copy link
Owner

Kureev commented May 26, 2015

PR has been merged (#29)

@Kureev Kureev closed this as completed May 26, 2015
@GiantGit15
Copy link

Hi All.
I am learning React-Native now.
I was going to make side menu.
So I have done it using guide by Kureev.
But the execution is out.
Could you please help me?

@Kureev
Copy link
Owner

Kureev commented Oct 5, 2015

Hi @GiantGit15! Please, create a new issue and attach logs/screenshots to give us more insights about your bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants