-
-
Notifications
You must be signed in to change notification settings - Fork 50.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix drawer #11702
Fix drawer #11702
Conversation
8faadd0
to
785b82f
Compare
Deploy preview for ant-design ready! Built with commit 8faadd0 |
components/style/themes/default.less
Outdated
@@ -77,6 +77,7 @@ | |||
@link-hover-decoration : none; | |||
|
|||
// Animation | |||
@ease : cubic-bezier(0.7, 0.3, 0.1, 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个和 ease 毫无联系。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
罗哥起的名字,换成什么合适
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
放在 drawer 里就叫 @drawer-easing
好了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这就是 ease ,,不要改名啊,,后续还要加个反向的,,要把组件里的所有动画在窗口里出现或有透明过渡的改成这个。。。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://cubic-bezier.com/#.25,.1,.25,1
这个才是 ease,而且是默认的不用声明。
Deploy preview for ant-design ready! Built with commit 5a66a0a |
Codecov Report
@@ Coverage Diff @@
## master #11702 +/- ##
=======================================
Coverage 92.03% 92.03%
=======================================
Files 200 200
Lines 5171 5171
Branches 1454 1454
=======================================
Hits 4759 4759
Misses 408 408
Partials 4 4
Continue to review full report at Codecov.
|
滚动条的 bug 在这里修吧 |
你去 featDrawer 那这支拷代码。。。ease 改为 ease-base-out, 新增了个缓动 ease-base-in |
package.json
Outdated
@@ -59,7 +59,7 @@ | |||
"rc-checkbox": "~2.1.5", | |||
"rc-collapse": "~1.9.0", | |||
"rc-dialog": "~7.2.0", | |||
"rc-drawer": "~1.6.2", | |||
"rc-drawer": "~1.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.6 -> 1.7 没有 feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有,,只是大改样式的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK 那今天发掉。
叫你把样式全复制过来的,,非要不听,不复制,,,100% 到 auto 是没动画的。。。。。 |
左边会出来一个奇怪的动画,是不是时机不对? |
right 的退出动画 会在左边播放 |
为什么 spin 的 ci 暴了?? |
应该是底层包更新。 |
可以合了,ie测试了一波,稳 |
所以这个可以合了么,我去看一下 master ci |
@chenshuai2144 |
Fix #11583 #11443
Remove pointer-events