Comments (3)
have demo?
from ant-motion.
only real application :(
the case is:
- i have page that secure (after login)
- i click logout (it's dropdown with menu as overlay)
- after that i redirect to page that totally new - totally different layout - login page.
- we had exception because because of animation for dropdown menu - didUnmount tries to use child that already null
the main idea - just check for child != null before using child.key at unmounting phase
from ant-motion.
ok, thanks
from ant-motion.
Related Issues (20)
- @zhaoyu69 有可能是less的问题, "less": "^2.7.3", "less-loader": "^4.1.0", 把less版本降到3.0以下,我这边就没问题了。
- 使用QueueAnim做进场动画时,会出现抖动 HOT 2
- 怎么能拿到轮播图跳转第几页?
- ant-motion 如何在浏览器引入
- ListSort.jsx中getChildren的ref丢失了 HOT 1
- 在nextjs中使用提示 Warning: Did not expect server HTML to contain a <div> in <div>. HOT 3
- OverPack默认下拉加载动画,能不能上拉也加载动画呢? HOT 2
- 能把这个拖拽集成封装在npm包里就好了 HOT 2
- TweenOne TS类型错误 HOT 1
- QueueAnim - Error - Hydration failed because the initial UI does not match what was rendered on the server - nextjs - react 18
- 加了动画组件后快速切换导航路由可能会无响应,必须等到动画结束后才能及时响应 HOT 1
- nextjs 使用 QueueAnim 控制台如下警告信息,如何解决
- Gatsby run develop runs into error due to antd and less configuration (NPM)
- rc-banner-anim ^2.4.5 版本的 BannerAnim 组件的 bug HOT 2
- ant-motion是不是不再维护了,官网上的例子运行报错TweenOne.js:68 Warning: TweenOne domRef is error. HOT 4
- 有和QueueAnim和List组件组合的例子吗?
- Sidebar hiding by the footer HOT 2
- nextjs13 Error with `rc-queue-anim`. HOT 1
- 官网部署失败请参考这里
- Combining AntDesign <List/> component and rc-queue anim 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 ant-motion.