fix(editor): Fix scrolling in code edit modal (#11647)

This commit is contained in:
Elias Meire 2024-11-11 17:45:18 +01:00 committed by GitHub
parent d9d01c42db
commit 8f695f3417
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,7 +404,12 @@ async function onDrop(value: string, event: MouseEvent) {
data-test-id="code-node-tab-code"
:class="$style.fillHeight"
>
<DraggableTarget type="mapping" :disabled="!dragAndDropEnabled" @drop="onDrop">
<DraggableTarget
type="mapping"
:disabled="!dragAndDropEnabled"
:class="$style.fillHeight"
@drop="onDrop"
>
<template #default="{ activeDrop, droppable }">
<div
ref="codeNodeEditorRef"
@ -437,7 +442,12 @@ async function onDrop(value: string, event: MouseEvent) {
</el-tabs>
<!-- If AskAi not enabled, there's no point in rendering tabs -->
<div v-else :class="$style.fillHeight">
<DraggableTarget type="mapping" :disabled="!dragAndDropEnabled" @drop="onDrop">
<DraggableTarget
type="mapping"
:disabled="!dragAndDropEnabled"
:class="$style.fillHeight"
@drop="onDrop"
>
<template #default="{ activeDrop, droppable }">
<div
ref="codeNodeEditorRef"