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

Day18 在Android上运行拖拽时出错。 #14

Closed
guanjian520 opened this issue Jul 4, 2016 · 5 comments
Closed

Day18 在Android上运行拖拽时出错。 #14

guanjian520 opened this issue Jul 4, 2016 · 5 comments

Comments

@guanjian520
Copy link

image

this.animations = {
duration: 200,
create: {
type: LayoutAnimation.Types.linear,
},
update: {
type: LayoutAnimation.Types.linear,
springDamping: 0.7,
},
};
day18.js在android上运行时能正确显示里面的图标,但是在拖动图标的时候出错,将linear改为别的也会出错。

@fangwei716
Copy link
Owner

Please refer to this issue: facebook/react-native#5267

@guanjian520
Copy link
Author

我是已经设置UIManager.setLayoutAnimationEnabledExperimental(true);之后还出错的。

@fangwei716 fangwei716 reopened this Jul 5, 2016
@fangwei716
Copy link
Owner

Sorry, I have no experience on this issue since I am not ready to support Android version.

@guanjian520
Copy link
Author

嗯,谢谢!期望早点支持Android啊!

@toearth
Copy link
Contributor

toearth commented Oct 27, 2017

this.animations = {
    duration: 200,
    create: {
        type: LayoutAnimation.Types.linear,
        property: LayoutAnimation.Properties.opacity,
    },
   update: {
        type: LayoutAnimation.Types.linear,
        springDamping: 0.7,
   },
};

Config like this

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

No branches or pull requests

3 participants