aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-08-26 15:04:38 -0400
committerkimdahey <claire_kim1@brown.edu>2019-08-26 15:04:38 -0400
commit54538028e5e32523ededaa86f90e78066ded2538 (patch)
tree92d2ed2f452810bf38ef5489866839b51b897908 /src
parent33d47c3aa10af81101d7529244948ed74a69b975 (diff)
bugfixing
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index 1dbbf29cb..5d232ab84 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -155,7 +155,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe
}
editor.focus();
editor.dispatch(tr.scrollIntoView());
- // editor.dispatch(tr.scrollIntoView()); // bcz: sometimes selection doesn't fully scroll into view on smaller text boxes <5 lines visibility -- hopefully avoidable by ppl just not using small boxes...?
+ editor.dispatch(tr.scrollIntoView()); // bcz: sometimes selection doesn't fully scroll into view on smaller text boxes <5 lines visibility -- hopefully avoidable by ppl just not using small boxes...?
this.props.Document.guid = "";
}
}