From 8ff609168d63970c9d91b4fc68745de3173f7731 Mon Sep 17 00:00:00 2001 From: lijingchi Date: Wed, 29 Sep 2021 18:56:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=A0=87=E6=B3=A8=E8=BE=93=E5=85=A5=E6=A1=86keydown=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E4=BC=A0=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lb-annotation/src/core/toolOperation/textAttributeClass.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lb-annotation/src/core/toolOperation/textAttributeClass.ts b/packages/lb-annotation/src/core/toolOperation/textAttributeClass.ts index 6cf548195..474e63f97 100644 --- a/packages/lb-annotation/src/core/toolOperation/textAttributeClass.ts +++ b/packages/lb-annotation/src/core/toolOperation/textAttributeClass.ts @@ -194,6 +194,7 @@ export default class TextAttributeClass { } public textKeyDown = (e: KeyboardEvent) => { + e.stopPropagation(); switch (e.keyCode) { case EKeyCode.Enter: this.submitTextarea();