Fix select option focus color

This commit is contained in:
Valtteri Karesto
2022-03-24 17:36:31 +02:00
parent 2628a12673
commit d3c36765de

View File

@@ -89,9 +89,10 @@ const Select = forwardRef<any, Props>((props, ref) => {
return {
...provided,
color: colors.searchText,
backgroundColor: state.isSelected
? colors.activeLight
: colors.dropDownBg,
backgroundColor:
state.isSelected || state.isFocused
? colors.activeLight
: colors.dropDownBg,
":hover": {
backgroundColor: colors.active,
color: "#ffffff",