fix(components): [segmented] invisible active indicator after clearing selection (#18818)

fix(components): [segmented] invisible active indicator after clear
This commit is contained in:
DDDDD12138
2024-11-07 13:39:54 +08:00
committed by GitHub
parent ff2211d673
commit 38b691093d

View File

@@ -118,6 +118,7 @@ const updateSelect = () => {
) as HTMLElement
if (!selectedItem || !selectedItemInput) {
state.width = 0
state.height = 0
state.translateX = 0
state.translateY = 0
state.focusVisible = false