diff --git a/packages/vkui/src/components/CustomSelect/CustomSelect.tsx b/packages/vkui/src/components/CustomSelect/CustomSelect.tsx index a92ce46692..e04bbf8730 100644 --- a/packages/vkui/src/components/CustomSelect/CustomSelect.tsx +++ b/packages/vkui/src/components/CustomSelect/CustomSelect.tsx @@ -707,19 +707,6 @@ export function CustomSelect>(); - const focusOnInput = React.useCallback(() => { - clearTimeout(focusOnInputTimerRef.current); - - focusOnInputTimerRef.current = setTimeout(() => { - selectInputRef.current && selectInputRef.current.focus(); - }, 0); - }, [selectInputRef]); - useIsomorphicLayoutEffect(function clearFocusOnInputTimer() { - return () => { - clearTimeout(focusOnInputTimerRef.current); - }; - }, []); const controlledValueSet = isControlledOutside && props.value !== ''; const uncontrolledValueSet = !isControlledOutside && nativeSelectValue !== ''; @@ -737,7 +724,7 @@ export function CustomSelect { @@ -794,11 +781,11 @@ export function CustomSelect