aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-06-18 10:28:31 -0400
committerbob <bcz@cs.brown.edu>2019-06-18 10:28:31 -0400
commit08872def596af073c5f14336c8faf07f44561bbc (patch)
treebd67430a8060d04686eddf390f000eb3db6e74b4 /src/client/views/nodes
parent8d0026573ad9a196f864490bcf07c78f54082bad (diff)
parentc50ba1c4cc01d5cd085dee0dae6f633164efeb80 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 38e91ac12..80d274c6d 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -62,7 +62,7 @@ export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocumen
createRef = (ele: HTMLDivElement | null) => {
if (this._reactionDisposer) this._reactionDisposer();
this._reactionDisposer = reaction(() => this.props.Document.scrollY, () => {
- ele && ele.scrollTo({ top: NumCast(this.Document.scrollY), behavior: "smooth" });
+ ele && ele.scrollTo({ top: NumCast(this.Document.scrollY), behavior: "auto" });
});
}