aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-10-04 13:40:14 -0400
committerbob <bcz@cs.brown.edu>2019-10-04 13:40:14 -0400
commitdcaad9277d2b25e1707964c442c4d19aae59d533 (patch)
treefb5436e3adac477042b3b81951a49ea935b007b2 /src
parent850ab4b13f3402464b7ff9a89261bc278031f961 (diff)
fixed selection within nested textbox.
Diffstat (limited to 'src')
-rw-r--r--src/client/util/RichTextSchema.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index e6b456313..53eaf9ce2 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -770,6 +770,7 @@ export class DashDocView {
let self = this;
this._dashSpan.onclick = function (e: any) {
FormattedTextBox.firstTarget && FormattedTextBox.firstTarget();
+ e.stopPropagation();
}
this._dashSpan.onkeydown = function (e: any) {
e.stopPropagation();