Open WdBly opened 1 year ago
5.28.1
当前版本的Modal组件的动画速度较慢,希望可以外部自定义动画属性。或者外部允许关闭动画。
关闭动画是可以的,https://mobile.ant.design/zh/guide/reduce-motion
组件的动画依赖 react-spring/web,要多加一个 animatedStyle 的 props 倒不是不可以,就是要学会使用 react-spring/web。
Version of antd-mobile
5.28.1
What is this feature about?
当前版本的Modal组件的动画速度较慢,希望可以外部自定义动画属性。或者外部允许关闭动画。