-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: dropdown 关闭没有动画效果 #6813
base: master
Are you sure you want to change the base?
fix: dropdown 关闭没有动画效果 #6813
Conversation
issues: #6747 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6813 +/- ##
==========================================
- Coverage 92.72% 92.70% -0.02%
==========================================
Files 335 335
Lines 7198 7199 +1
Branches 1767 1804 +37
==========================================
Hits 6674 6674
+ Misses 516 490 -26
- Partials 8 35 +27 ☔ View full report in Codecov by Sentry. |
const cls = classNames(`${classPrefix}-content`, { | ||
[`${classPrefix}-content-hidden`]: !active, | ||
}) | ||
const cls = classNames(`${classPrefix}-content`) |
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.
是否可以监听一下动画,结束了加上 hidden。否则元素一直都会留在那里
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.
No description provided.