fix(editor): preserve user-adjusted SQL editor position during execution
This commit is contained in:
4 files changed
+86
-17
No files matched your search
@@ -751,6 +751,9 @@ watch(
|
||||
watch(
|
||||
() => props.activeTab.isExecuting,
|
||||
(isExecuting, wasExecuting) => {
|
||||
if (isExecuting && !wasExecuting) {
|
||||
queryEditorRef.value?.beginExecutionViewportTracking();
|
||||
}
|
||||
if (!isExecuting && wasExecuting) {
|
||||
nextTick(() => {
|
||||
requestAnimationFrame(() => {
|
||||
|
||||
Reference in new issue
Block a user