Skip to content

Commit

Permalink
fix(elements): rotate caret icon when list is open in cherry picker a…
Browse files Browse the repository at this point in the history
…nd select components
  • Loading branch information
claire2212 committed Feb 7, 2025
1 parent 1d8aa02 commit bd07e3e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/fields/shared/StyledRsuitePickerBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ export const StyledRsuitePickerBox = styled.div<CommonPickerFieldStyleProps>`
}
}
}
&.rs-picker-toggle-active {
> .rs-stack {
> .rs-stack-item {
> .rs-picker-caret-icon {
rotate: 180deg;
transition: rotate 100ms linear;
}
}
}
}
> .rs-stack {
> .rs-stack-item {
Expand Down Expand Up @@ -117,6 +127,7 @@ export const StyledRsuitePickerBox = styled.div<CommonPickerFieldStyleProps>`
> .rs-picker-caret-icon {
height: 18px;
top: 4px;
transition: rotate 100ms linear;
}
> .rs-picker-clean {
Expand Down

0 comments on commit bd07e3e

Please sign in to comment.