Skip to content

Commit 87a83e3

Browse files
committed
2 parents 2df3131 + cc75a43 commit 87a83e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OptionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const OptionList: React.ForwardRefRenderFunction<RefOptionListProps, {}> = (_, r
145145
}
146146

147147
return () => clearTimeout(timeoutId);
148-
}, [open, searchValue]);
148+
}, [open, searchValue, flattenOptions.length]);
149149

150150
// ========================== Values ==========================
151151
const onSelectValue = (value: RawValueType) => {

0 commit comments

Comments
 (0)