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

not working with android ? #59

Open
azamkth opened this issue May 11, 2016 · 6 comments
Open

not working with android ? #59

azamkth opened this issue May 11, 2016 · 6 comments

Comments

@azamkth
Copy link

azamkth commented May 11, 2016

No description provided.

@chenglou
Copy link
Owner

chenglou commented May 23, 2016

What specifically doesn't work with android? The demos or the library?

@azamkth
Copy link
Author

azamkth commented May 23, 2016

Animation stuff does not work,
https://github.com/lelandrichardson/react-native-segmented-view
this library is specifically using react-tween-state. it works fine with iOS but for android all function works good but animation doest not work

@ghost
Copy link

ghost commented Jun 17, 2016

It is confusing that the official docs state "Not recommended" and then precede to give an example of it usage.

I tried using it with Android and found that it did not behave well with react-native. Does this play nice with react-native, or is it also "Not recommended" by you for use with react-native. Actually similar question for react-motion.

Note that I also tried the basic examples from this repo and facebook.

best regards,

@smallpath
Copy link

feels like I am a little bit late.

if you use react-native-segmented-view, please add collapsable={false} props to title View, then react-tween-state will appears

However, there is another problem.Touched from left to right, the animation looks very strange.

@chenglou
Copy link
Owner

Not sure if many still uses react-tween-state on native (or at all), but thanks for the update! Also, what do you mean by strange?

@smallpath
Copy link

There are two values here: barLeft and barRight. I just want them start motion at the same time but it did't work as expected

here is the code:

        // this.tweenState('barLeft', {
        //     easing: tweenState.easingTypes.easeInOutQuad,
        //     duration: this.props.duration,
        //     endValue: pageX
        // });

        // this.tweenState('barRight', {
        //     easing: tweenState.easingTypes.easeInOutQuad,
        //     duration: this.props.duration,
        //     endValue: screen.width - pageX - width,
        // });

in addition , if I register barRight before barLeft, the motion will be much different. Is there something I misunderstand ?

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