-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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
style: optimize cascader clear animation #26186
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c305483:
|
Size Change: +41 B (0%) Total Size: 803 kB
ℹ️ View Unchanged
|
Codecov Report
@@ Coverage Diff @@
## master #26186 +/- ##
=======================================
Coverage 99.54% 99.54%
=======================================
Files 373 373
Lines 7315 7319 +4
Branches 1992 2043 +51
=======================================
+ Hits 7282 7286 +4
Misses 33 33
Continue to review full report at Codecov.
|
/rebase |
b112435
to
cb1cd25
Compare
components/cascader/index.tsx
Outdated
this.handlePopupVisibleChange(false); | ||
setTimeout(() => { |
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.
这个 setTimeout 要 clear 掉。
test cov |
Emmm,这次应该可以了~ |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
点开下拉框,点击 clear 按钮,可以看到,面板会先进行清除动画,再进行关闭动画。动画效果不连贯。
📝 Changelog
☑️ Self Check before Merge