diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-23 20:10:37 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-23 20:10:37 -0400 |
commit | d020dddac3eeebf7e65afb7d5a6f6b7ee2096554 (patch) | |
tree | cb16679f8c99b174906680021c8f9dda33bd71bf /src | |
parent | a80aa9609f0cf1d2431e17f31af4cd3369d2a2c1 (diff) |
fixed web box moving when arrow keys are pressed.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 71e8d2778..05355caba 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -195,9 +195,9 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum onValueKeyDown = async (e: React.KeyboardEvent) => { if (e.key === "Enter") { - e.stopPropagation(); this.submitURL(); } + e.stopPropagation(); } toggleAnnotationMode = () => { |