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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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