fix(editor): keep scroll after canceling dangerous sql

This commit is contained in:
jearhe authored and GitHub committed 2026-09-01 12:16:59 +08:00
1 parent a751b5690b
commit 694611aade
9 files changed
+215 -11

No files matched your search

+1
View File
@@ -465,6 +465,7 @@ const {
onMissingDatabase: promptActiveDatabaseSelection,
requestDangerConfirmation: (request) => sqlExecutionDangerStore.requestConfirmation(request),
onExecutionStarted: (editorViewportRequestId) => contentAreaRef.value?.acceptQueryEditorExecutionViewport(editorViewportRequestId),
onExecutionCancelled: (editorViewportRequestId) => contentAreaRef.value?.cancelQueryEditorExecutionViewport(editorViewportRequestId),
});
function captureActiveEditorExecutionSnapshot() {