box / box/viewer.js

Zoom Causes Viewer to Page Improperly

Open
#209 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

1. I load a document in the viewer.
2. I scroll to the last page of the document (say page 97)
3. I fully zoom out on the last page (page 97)
4. I zoom back in and the viewer pages to page 73.

It appears that the calculateCurrentPage function in crocodoc.viewer.js is improperly calculating the current page.

I can reproduce the problem in your demo app at https://box-view.readme.io/reference.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.