Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/gitbook/src/components/AIChat/AIChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export function AIChat() {
() => {
chatController.close();
},
[]
{
useKey: true,
}
);

// Track the view of the AI chat
Expand Down
1 change: 1 addition & 0 deletions packages/gitbook/src/components/AIChat/AIChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function AIChatInput(props: {
},
{
enableOnFormTags: true,
useKey: true,
}
);

Expand Down
2 changes: 2 additions & 0 deletions packages/gitbook/src/components/Search/SearchContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export function SearchContainer({
},
{
enableOnFormTags: true,
useKey: true,
}
);

Expand All @@ -84,6 +85,7 @@ export function SearchContainer({
},
{
enableOnFormTags: true,
useKey: true,
}
);

Expand Down