Giter Club home page Giter Club logo

Comments (6)

chenglou avatar chenglou commented on July 24, 2024

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

from react-tween-state.

azamkth avatar azamkth commented on July 24, 2024

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

from react-tween-state.

 avatar commented on July 24, 2024

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,

from react-tween-state.

smallpath avatar smallpath commented on July 24, 2024

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.

from react-tween-state.

chenglou avatar chenglou commented on July 24, 2024

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?

from react-tween-state.

smallpath avatar smallpath commented on July 24, 2024

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 ?

from react-tween-state.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.