aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-22 23:55:38 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-22 23:55:38 -0400
commitfc1fd8902b090b75c81347a37cce15145322b4e2 (patch)
treed697bf1b82f1969b0c7bbc8acb8f3aaa349c40f5 /src/client/views/EditableView.tsx
parent7f9d92b3e1d0ca433c732936eae767095c9a5e7f (diff)
moving row no longer messes up cell field (of course it was batching...)
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r--src/client/views/EditableView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx
index 78977bcb8..8e48b4c11 100644
--- a/src/client/views/EditableView.tsx
+++ b/src/client/views/EditableView.tsx
@@ -193,7 +193,7 @@ export class EditableView extends ObservableReactComponent<EditableProps> {
@action
onClick = (e?: React.MouseEvent) => {
this._props.onClick && this._props.onClick();
- if (this._props.editing !== false) {
+ if (this._props.editing) {
e?.nativeEvent.stopPropagation();
if (this._ref.current && this._props.showMenuOnLoad) {
this._props.menuCallback?.(this._ref.current.getBoundingClientRect().x, this._ref.current.getBoundingClientRect().y);