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

When the menu component in the layout component shrinks with submenu items, no animation is triggered #4325

Closed
1 task
tengli1990 opened this issue Jul 6, 2021 · 3 comments

Comments

@tengli1990
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.1

Environment

macOS Catalina 10.15.7 (19H524)、Chrome 91.0.4472.114(正式版本)、vue ^3.0.11

Reproduction link

https://2x.antdv.com/components/layout-cn#components-layout-demo-side

Steps to reproduce

1、Open address https://2x.antdv.com/components/layout-cn#components-layout-demo-side
2、Open the layout component, view the sidebar component, and click the shrink button. There is no animation when some menus shrink

What is expected?

The animation is consistent when the menu shrinks

What is actually happening?

Menus with submenus have no shrink animation

@tangjinzhou
Copy link
Member

image
this?

@tengli1990
Copy link
Author

是的,收缩的时候,没动画,图标一下子就剧中了,感觉会闪一下,侧边栏越宽越明显。

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants