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;
line-height: 1;
text-align: center;
pointer-events: none;
.anticon {
.@{iconfont-css-prefix} {
vertical-align: top;
transition: transform 0.3s;
@ -120,10 +121,10 @@
.@{select-prefix-cls}-open &.anticon-down {
transform: rotate(180deg);
}
}
&.anticon-down {
pointer-events: none;
&:not(.@{iconfont-css-prefix}-down) {
pointer-events: auto;
}
}
}