Skip to content

Commit

Permalink
fix(editor): Fix scrolling in code edit modal (#11647)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsmr authored Nov 11, 2024
1 parent d9d01c4 commit 8f695f3
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 8f695f3

Please sign in to comment.