aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-22 17:16:41 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-22 17:16:41 -0400
commit4d6aee4230e60b67ba62609ef543845c230ce739 (patch)
tree31af1ba8650bb9b0486d2dd86b41c88ed43aa829 /src/client/views/EditableView.tsx
parent5e9bcf2e35415fd0ab4dec4f0141511cd4d312d0 (diff)
parentfc1dbb1327d10bd1832d33a87d18cff1e836ecfb (diff)
merge from master
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r--src/client/views/EditableView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx
index 989fb1be9..f2cdffd38 100644
--- a/src/client/views/EditableView.tsx
+++ b/src/client/views/EditableView.tsx
@@ -67,6 +67,7 @@ export class EditableView extends React.Component<EditableProps> {
@action
onClick = (e: React.MouseEvent) => {
+ e.nativeEvent.stopPropagation();
if (!this.props.onClick || !this.props.onClick(e)) {
this._editing = true;
}