Skip to content

Commit a47d354

Browse files
committed
fix tests
1 parent 2adad3a commit a47d354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dash-core-components/src/fragments/Dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ const Dropdown = (props: DropdownProps) => {
253253

254254
setDisplayOptions(sortedOptions);
255255
}
256-
}, [filteredOptions, isOpen, sanitizedValues, multi]);
256+
}, [filteredOptions, isOpen]);
257257

258258
// Focus first selected item or search input when dropdown opens
259259
useEffect(() => {
@@ -284,7 +284,7 @@ const Dropdown = (props: DropdownProps) => {
284284
searchInputRef.current.focus();
285285
}
286286
});
287-
}, [isOpen, multi, displayOptions, sanitizedValues]);
287+
}, [isOpen, multi, displayOptions]);
288288

289289
// Handle keyboard navigation in popover
290290
const handleKeyDown = useCallback((e: React.KeyboardEvent) => {

0 commit comments

Comments
 (0)