Commit 92b4156a authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Select: optimize performance of long option list (#4444)

parent 0607fd9d
......@@ -6,8 +6,7 @@
v-show="visible"
:class="{
'selected': itemSelected,
'is-disabled': disabled || groupDisabled || limitReached,
'hover': parent.hoverIndex === index
'is-disabled': disabled || groupDisabled || limitReached
}">
<slot>
<span>{{ currentLabel }}</span>
......
......@@ -26,7 +26,7 @@
}
}
&.hover {
&.hover, &:hover {
background-color: var(--select-option-hover-background);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment