diff options
Diffstat (limited to 'src/client/views/EditableView.tsx')
| -rw-r--r-- | src/client/views/EditableView.tsx | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index 03d9efff3..ebf5ca82d 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -155,7 +155,10 @@ export class EditableView extends React.Component<EditableProps> {          return wasFocused !== this._editing;      } + +      renderEditor() { +        console.log("render editor", this.props.autosuggestProps);          return this.props.autosuggestProps              ? <Autosuggest                  {...this.props.autosuggestProps.autosuggestProps} @@ -197,7 +200,7 @@ export class EditableView extends React.Component<EditableProps> {          setTimeout(() => this.props.autosuggestProps?.resetValue());          return this.props.contents instanceof ObjectField ? (null) :              <div className={`editableView-container-editing${this.props.oneLine ? "-oneLine" : ""}`} ref={this._ref} -                style={{ display: this.props.display, textOverflow: this.props.overflow, minHeight: "17px", whiteSpace: "nowrap", height: this.props.height || "auto", maxHeight: this.props.maxHeight }} +                style={{ display: this.props.display, textOverflow: this.props.overflow, minHeight: "10px", whiteSpace: "nowrap", height: this.props.height || "auto", maxHeight: this.props.maxHeight }}                  onClick={this.onClick} placeholder={this.props.placeholder}>                  <span style={{ fontStyle: this.props.fontStyle, fontSize: this.props.fontSize }} >                      {this.props.contents ? this.props.contents?.valueOf() : this.props.placeholder?.valueOf()} | 
