Skip to content

Commit

Permalink
fix(editor): Fix copy/paste keyboard events in canvas chat (#12004)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv authored Dec 2, 2024
1 parent 28487ed commit 967340a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ watchEffect(() => {
:style="rootStyles"
@resize="onResizeDebounced"
>
<div ref="container" :class="$style.container">
<div ref="container" :class="[$style.container, 'ignore-key-press-canvas']" tabindex="0">
<div v-if="isChatOpen || isLogsOpen" :class="$style.chatResizer">
<n8n-resize-wrapper
v-if="isChatOpen"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function copySessionId() {
</div>
</header>
<main :class="$style.chatBody">
<MessagesList :messages="messages" :class="[$style.messages, 'ignore-key-press-canvas']">
<MessagesList :messages="messages" :class="$style.messages">
<template #beforeMessage="{ message }">
<MessageOptionTooltip
v-if="message.sender === 'bot' && !message.id.includes('preload')"
Expand Down

0 comments on commit 967340a

Please sign in to comment.