Comments (6)
What specifically doesn't work with android? The demos or the library?
from react-tween-state.
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.
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.
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.
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.
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)
- React-Native example problem HOT 6
- Default export is missing HOT 6
- Generalizing the easing timing function? HOT 5
- Performance issue during Tween Animation HOT 1
- Looping behaviors (onEnd) and react-native HOT 1
- react-tween-state not work in react native? HOT 4
- What is the difference with react-motion? HOT 8
- What's the best way to listen for update after the first tween frame
- Incompatible with legacy browsers <=ie9 and phantomjs
- Whole component is always re-rendered HOT 2
- Tweening functions are returning NaN HOT 1
- this.getTweeningValue is not a function HOT 1
- What should I do when I need to change more than one states at the same time?
- Cannot install tween-state
- React 15 support ? HOT 2
- Is this usable with react-native
- request: ES6 class and not mixin HOT 14
- Cannot read property 'tweenQueue' of undefined HOT 3
- Isn't working on demopage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-tween-state.