diff --git a/src/OptionList.tsx b/src/OptionList.tsx index abef1726..a28dc86b 100644 --- a/src/OptionList.tsx +++ b/src/OptionList.tsx @@ -146,7 +146,7 @@ const OptionList: React.ForwardRefRenderFunction = (_, r } return () => clearTimeout(timeoutId); - }, [open, searchValue, flattenOptions.length]); + }, [open, searchValue]); // ========================== Values ========================== const onSelectValue = (value: RawValueType) => {