aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-02 11:40:24 -0400
committerbobzel <zzzman@gmail.com>2020-08-02 11:40:24 -0400
commit1486b398071b3e9d9ac84edc74404ebadb69f67c (patch)
tree0455527c7574c671f8d7f219560231384e7dd32f /src/client/views/EditableView.tsx
parent63fd10d0940331d68a9ce58b4b77734b11e393f5 (diff)
fixed runtime warnings. fixed color of title text of stacking and masonry views
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 ad61d3f91..c7b149842 100644
--- a/src/client/views/EditableView.tsx
+++ b/src/client/views/EditableView.tsx
@@ -187,7 +187,7 @@ export class EditableView extends React.Component<EditableProps> {
{this.renderEditor()}
</div> : this.renderEditor();
} else {
- this.props.autosuggestProps?.resetValue();
+ setTimeout(() => this.props.autosuggestProps?.resetValue(), 0);
return (this.props.contents instanceof ObjectField ? (null) :
<div className={`editableView-container-editing${this.props.oneLine ? "-oneLine" : ""}`}
ref={this._ref}