Skip to content

Commit 4e1eb5b

Browse files
authored
fix: keep Select selected option active style themed (ant-design#58069)
1 parent 5cf4768 commit 4e1eb5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

components/select/style/dropdown.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ const genSingleStyle: GenerateStyle<SelectToken> = (token) => {
135135
backgroundColor: token.optionActiveBg,
136136
},
137137

138+
[`&-selected${selectItemCls}-option-active:not(${selectItemCls}-option-disabled)`]: {
139+
backgroundColor: token.controlItemBgActiveHover,
140+
},
141+
138142
'&-disabled': {
139143
[`&${selectItemCls}-option-selected`]: {
140144
backgroundColor: token.colorBgContainerDisabled,

0 commit comments

Comments
 (0)