-
Notifications
You must be signed in to change notification settings - Fork 359
fix(SubMenu): remove maxHeight
#3981
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
base: develop
Are you sure you want to change the base?
Conversation
commit: |
|
snapshot和test需要改才能正常就不太对吧 |
|
已重新处理 |
|
style |
f8ec7a7 to
8d02f9b
Compare
|
只能说,除非改掉 https://github.com/Tencent/tdesign-common/blob/develop/style/web/_global.less#L35 动画的实现方式 |
展开收起的动画效果 通过maxHeight的transition动画是常见的实现方式,或者考虑改成和popup一样通过clip path实现 Tencent/tdesign-common#155 |
|
我没理解到什么问题 |




🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
测试代码存档
📝 更新日志
fix(Menu): 移除
SubMenu的max-height样式限制,避免额外设置MenuItem的height时,内容被遮挡本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单