Skip to content

Commit 86d0fa0

Browse files
committed
fix: command palette and form + tests
1 parent 34644e6 commit 86d0fa0

File tree

4 files changed

+236
-151
lines changed

4 files changed

+236
-151
lines changed

src/command-pallette/CommandPalletteUI/ResultsList/ResultsList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function ResultsList({
6363
setActiveIndex(activeIndex - 1);
6464
scrollInto(listRef.current!.children[activeIndex - 1]);
6565
} else if (key === 'Enter' && results?.[activeIndex]) {
66+
e.preventDefault();
6667
handleActionIfFormOpen(
6768
isResourceEdited,
6869
setIsResourceEdited,

0 commit comments

Comments
 (0)