fix: 🐛 SubMenu unexpected scrollbar (#26817)

close #26812
This commit is contained in:
偏右 2020-09-18 19:44:56 +08:00 committed by GitHub
parent 40cee55141
commit b04d97cde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,8 @@
transform-origin: 0 0;
// https://github.com/ant-design/ant-design/issues/22244
&:not(.zoom-big-enter-active):not(.zoom-big-leave-active) {
// https://github.com/ant-design/ant-design/issues/26812
&:not([class*='-active']) {
overflow-x: hidden;
overflow-y: auto;
}