fix: Select arrow cannot trigger open (#23448)

close #23447
This commit is contained in:
偏右 2020-04-21 18:03:47 +08:00 committed by GitHub
parent 17c63e52bf
commit 428b07625c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,8 +108,9 @@
font-size: @font-size-sm; font-size: @font-size-sm;
line-height: 1; line-height: 1;
text-align: center; text-align: center;
pointer-events: none;
.anticon { .@{iconfont-css-prefix} {
vertical-align: top; vertical-align: top;
transition: transform 0.3s; transition: transform 0.3s;
@ -120,10 +121,10 @@
.@{select-prefix-cls}-open &.anticon-down { .@{select-prefix-cls}-open &.anticon-down {
transform: rotate(180deg); transform: rotate(180deg);
} }
}
&.anticon-down { &:not(.@{iconfont-css-prefix}-down) {
pointer-events: none; pointer-events: auto;
}
} }
} }