From dcaad9277d2b25e1707964c442c4d19aae59d533 Mon Sep 17 00:00:00 2001
From: bob <bcz@cs.brown.edu>
Date: Fri, 4 Oct 2019 13:40:14 -0400
Subject: fixed selection within nested textbox.

---
 src/client/util/RichTextSchema.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/util/RichTextSchema.tsx')

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();
-- 
cgit v1.2.3-70-g09d2

