-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
菜单收缩时,如果悬浮子菜单过多,那么菜单会将页面的高撑破。我写了一行代码实现了将子菜单的高限制在当前屏幕的高之内,如下。看起来很可行,但是实际操作的时候,会发现鼠标不能去操作滚动条,但是使用鼠标滚轮可以。
<style lang="scss">
.ant-menu-dark,
.ant-menu-dark .ant-menu-sub {
max-height: 100vh;
overflow: auto;
}
</style>What does the proposed API look like?
滚动条可以操作