Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: don't trap-focus is not needed (#7373)

Liu Ji6441daa14bbc
diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
index 24344785d8..f54f306848 100644
--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue
@@ -75,9 +75,8 @@
</div>
</div>
<MonacoEditor
- ref="editorRef"
class="w-full h-full border border-b-0"
- data-label="bb-issue-sql-editor"
+ data-label="bb-schema-editor-sql-editor"
:value="state.editStatement"
:auto-focus="false"
:dialect="dialectOfEngineV1(databaseEngine)"
@@ -154,6 +153,7 @@ import ActionConfirmModal from "@/components/SchemaEditor/Modals/ActionConfirmMo
import GhostDialog from "./GhostDialog.vue";
import { Engine } from "@/types/proto/v1/common";
import { TenantMode } from "@/types/proto/v1/project_service";
+import MonacoEditor from "../MonacoEditor";
const MAX_UPLOAD_FILE_SIZE_MB = 1;
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vue
index 85ec2d7c93..581798ba6d 100644
--- a/frontend/src/components/QuickActionPanel.vue
+++ b/frontend/src/components/QuickActionPanel.vue
@@ -247,7 +247,7 @@
<Drawer
:auto-focus="true"
- :trap-focus="true"
+ :trap-focus="false"
:show="state.quickActionType !== undefined"
@close="state.quickActionType = undefined"
>