diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-03 13:44:09 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-03 13:44:09 -0400 |
| commit | 4a8d63248567443be3e1ab4678cb2d395a141c4e (patch) | |
| tree | bf55f1118c728c40c94ace2366a4e3213e4d6977 /src/client/views/nodes/PDFBox.tsx | |
| parent | 3cdc6f11e262e289b6070d6fa75a59fff7e59b1e (diff) | |
| parent | 88cec4b18b8e49f8598cab817955ca4dccb6228c (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
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" }); } } |
