mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24:07 -08:00
Fix scrolling in code edit modal
This commit is contained in:
parent
57467d0285
commit
8be658f60a
|
@ -404,7 +404,12 @@ async function onDrop(value: string, event: MouseEvent) {
|
||||||
data-test-id="code-node-tab-code"
|
data-test-id="code-node-tab-code"
|
||||||
:class="$style.fillHeight"
|
:class="$style.fillHeight"
|
||||||
>
|
>
|
||||||
<DraggableTarget type="mapping" :disabled="!dragAndDropEnabled" @drop="onDrop">
|
<DraggableTarget
|
||||||
|
type="mapping"
|
||||||
|
:disabled="!dragAndDropEnabled"
|
||||||
|
:class="$style.fillHeight"
|
||||||
|
@drop="onDrop"
|
||||||
|
>
|
||||||
<template #default="{ activeDrop, droppable }">
|
<template #default="{ activeDrop, droppable }">
|
||||||
<div
|
<div
|
||||||
ref="codeNodeEditorRef"
|
ref="codeNodeEditorRef"
|
||||||
|
@ -437,7 +442,12 @@ async function onDrop(value: string, event: MouseEvent) {
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<!-- If AskAi not enabled, there's no point in rendering tabs -->
|
<!-- If AskAi not enabled, there's no point in rendering tabs -->
|
||||||
<div v-else :class="$style.fillHeight">
|
<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 }">
|
<template #default="{ activeDrop, droppable }">
|
||||||
<div
|
<div
|
||||||
ref="codeNodeEditorRef"
|
ref="codeNodeEditorRef"
|
||||||
|
|
Loading…
Reference in a new issue