diff options
author | bobzel <zzzman@gmail.com> | 2024-03-31 08:43:38 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-31 08:43:38 -0400 |
commit | 1e37adacfe5b44a71ed7d7dfd785c6c2d0808eae (patch) | |
tree | e802671458d452c7d7d6896333727508f9fff057 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 47ae05389d7ce564efde19b7a639b38842759cc1 (diff) |
fixed divider column for notetaking view. fixed scrolling of text docs. fixed keeping user docs in system button bars.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 3700b08d6..2deecb6ad 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2032,6 +2032,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB const height = Number(styleFromLayoutString.height?.replace('px', '')); // prevent default if selected || child is active but this doc isn't scrollable if ( + !Number.isNaN(height) && (this._scrollRef.current?.scrollHeight ?? 0) <= Math.ceil((height ? height : this._props.PanelHeight()) / scale) && // (this._props.rootSelected?.() || this.isAnyChildContentActive()) ) { |