Preserve Editor State (#151)

This commit is contained in:
Gregory Schier
2024-12-31 07:31:43 -08:00
committed by GitHub
parent 31f2bff0f6
commit 135c366e32
33 changed files with 295 additions and 177 deletions

View File

@@ -112,7 +112,7 @@ export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown
close() {
handleClose();
},
}));
}), [handleClose, isOpen, setIsOpen]);
useHotKey(hotKeyAction ?? null, () => {
setDefaultSelectedIndex(0);