Comments (7)
try install 1.0.4.
If not works, can you point me a demo? exclusive will make current animation stop immediately
Line 87 in f3d6110
from animate.
Hey!
Yeah, I think I misunderstood it. I thought exclusive
made the enter
animation wait until a leave
animation is finished.
I'll see if I can add that myself.
from animate.
@juliocesar see example for exclusive, http://react-component.github.io/animate/examples/exclusive.html, this has been fixed in 1.0.5
from animate.
@xujihui1985 Hey! Thank you. Just checked, and I don't think it's a bug in exclusive
per se.
I thought exclusive meant that before the next component enters, that it would wait for a current one to leave, and only then be put in the DOM and animate, but that's not how it works at all.
In my case at least, exclusive
doesn't seem to make any difference (toggling it on or off yields the same result).
from animate.
@juliocesar exclusive here means, stop the current one before next compnent enters, and that should make difference when toggling it or or off, try to clone the latest code and toggle the property in examples/exclusive.js to see the difference :)
from animate.
non exclusive: http://react-component.github.io/animate/examples/simple.html
exclusive: http://react-component.github.io/animate/examples/simple-exclusive.html
from animate.
@xujihui1985 @yiminghe Many thanks!
Yeah, I misunderstood it. I was looking for a way to queue the enter/leave process. Will ping back here if I come up with something.
This is what I'm cooking with it -> https://gist.github.com/juliocesar/ae67cc40593d71e2f5e4
from animate.
Related Issues (20)
- 问题:为什么transform 动画没有效果 HOT 1
- UNSAFE_componentWillReceiveProps HOT 1
- findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of AnimateChild HOT 1
- index.d.ts is not in the published package.
- react16.13.1版本,严格模式已经不支持UNSAFE_componentWillReceiveProps 和findDOMNode
- m
- Migrate docs to dumi HOT 1
- component 属性设置为 "" 时,元素消失动画失效 HOT 2
- CSSMotion 移到 2.x 里发布
- componentWillReceiveProps will be deprecated HOT 3
- 当设置了showProp时,往子节点中插入新节点,节点显示在最后
- upgrade core-js HOT 3
- CSSMotion 获取不到 HOT 1
- Cannot find module 'css-animation' HOT 2
- "licenses" field is misused in package.json
- Deprecated lifecycle method warnings with React 16.9 HOT 5
- Installing dependencies on fresh clone => `ReferenceError: primordials is not defined`
- Typescript error HOT 1
- package.json "licenses" should be "license" HOT 1
- Specify peerDependencies (for compatibility with Yarn 2.0) 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 animate.