修复nested-select下拉icon

This commit is contained in:
rickcole 2020-07-06 14:45:25 +08:00
parent 2e04242370
commit ea3c1b3412
2 changed files with 5 additions and 5 deletions

View File

@ -31,10 +31,8 @@
}
}
&.is-opened {
.#{$ns}Select-arrow:before {
transform: rotate(180deg);
}
&.is-opened .#{$ns}Select-arrow > svg {
transform: rotate(180deg);
}
&:not(.is-disabled):hover {

View File

@ -562,7 +562,9 @@ export default class NestedSelectControl extends React.Component<
{this.renderClear()}
<span className={cx('Select-arrow')} />
<span className={cx('Select-arrow')}>
<Icon icon="caret" className="icon" />
</span>
</div>
{this.state.isOpened ? this.renderOuter() : null}