You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: [MacOS]
Browser [Chrome 75.0.3770.142]
Steps to reproduce the problem:
Preview file by providing file object to the show method
Try to zoom in and zoom out file
Try to use aside thumbnails
What is the expected behavior? (Screenshots can be helpful here)
Document is properly zoomed and thumbnails sidebar navigation works
What went wrong? (Screenshots, console logs, or HAR files can be helpful here)
Document is duplicated, zoom does not work, thumbnails sidebar navigation does not work
Link to application or sample code: CodePen example
You have to generate your own access token to reproduce it in this CodePen, my access token is valid for 1 hour Video recording of the issue
Expected behavior
Document is properly zoomed and thumbnails sidebar navigation works.
Additional context
I debugged the source code and from my perspective, problem can be fixed here by calling this.destroy() after uncaching watermarked file in Preview.js file - link to the specific line of code
This bug happens only for watermarked files and only when we provide file instead of file id to the show() method.
The text was updated successfully, but these errors were encountered:
dolgachio
changed the title
Duplicated previewer when open watermarked file
Duplicated previewer when preview watermarked file
Aug 7, 2019
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Desktop (please complete the following information):
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
Document is properly zoomed and thumbnails sidebar navigation works
What went wrong? (Screenshots, console logs, or HAR files can be helpful here)
Document is duplicated, zoom does not work, thumbnails sidebar navigation does not work
Link to application or sample code:
CodePen example
You have to generate your own access token to reproduce it in this CodePen, my access token is valid for 1 hour
Video recording of the issue
Expected behavior
Document is properly zoomed and thumbnails sidebar navigation works.
Additional context
I debugged the source code and from my perspective, problem can be fixed here by calling
this.destroy()
after uncaching watermarked file inPreview.js
file - link to the specific line of codeThis bug happens only for watermarked files and only when we provide
file
instead offile id
to theshow()
method.The text was updated successfully, but these errors were encountered: