diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-12 20:24:26 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-12 20:24:26 -0400 |
commit | 47424484409938367f47068274af4c0f51d4490c (patch) | |
tree | 823bb2b6cb285b81678fa39fb8842031ccaf52c7 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 0e457c6f8268c70408d3740984f3976437535f51 (diff) |
fixed issues with scrolled text input. preview region for schema. and pasting in tables with ctrl-t.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 37dc05ca5..7ebc31b0a 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -262,8 +262,8 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe if (!this.props.isOverlay) { FormattedTextBox.InputBoxOverlay = this; } else { - if (this._proseRef.current) { - this._proseRef.current.scrollTop = FormattedTextBox.InputBoxOverlayScroll; + if (this._ref.current) { + this._ref.current.scrollTop = FormattedTextBox.InputBoxOverlayScroll; } } } |