aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-07-10 13:01:16 -0400
committerab <abdullah_ahmed@brown.edu>2019-07-10 13:01:16 -0400
commite3f0338f8f4b223a7e4389aebeb20ede5555510b (patch)
tree3fb181c0b16161d2c8b1d7f0a7cbcd34f8e1c3c4 /src/client/views/nodes/PDFBox.tsx
parent1fb746bcb228a348da1b4d8056aab59e073ee89e (diff)
parentfd8fcfe74fff78bc67b6302f917c53e69d598712 (diff)
merged
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-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 83dedb71d..cc02bb282 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -149,7 +149,7 @@ export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocumen
scrollTo(y: number) {
if (this._mainCont.current) {
- this._mainCont.current.scrollTo({ top: y });
+ this._mainCont.current.scrollTo({ top: y, behavior: "auto" });
}
}