diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-03 12:12:08 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-03 12:12:08 -0400 |
commit | 6c5468eee0ec59d4ddaf116e67d067b567ccb87a (patch) | |
tree | 1b6a77dbcf86663a29b75f7cef13be2e5328781a /src/client/views/nodes/PDFBox.tsx | |
parent | 5e35e1895bb54568bbf8cc3991480e20edd1de83 (diff) |
pdf next/prev annotation fixes/improvements
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 2 |
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" }); } } |