Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hanclang
Copy link
Contributor

@hanclang hanclang commented Jan 7, 2025

No description provided.

Copy link
Contributor

github-actions bot commented Jan 7, 2025

Preview is ready

@hanclang hanclang changed the title fix: dropdown 关闭没有动画效果 #6747 fix: dropdown 关闭没有动画效果 Jan 7, 2025
@hanclang
Copy link
Contributor Author

hanclang commented Jan 7, 2025

issues: #6747

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (12ca364) to head (a888f07).
Report is 2 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

const cls = classNames(`${classPrefix}-content`, {
[`${classPrefix}-content-hidden`]: !active,
})
const cls = classNames(`${classPrefix}-content`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是否可以监听一下动画,结束了加上 hidden。否则元素一直都会留在那里

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

捕获
我看Popup组件那里顶层已经有了,是不是可以不用再dropdown这里加了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants