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
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Preview version:1.7.0
Browser name and version:chrome and firefox
Operating system and version: Mac OS 10.11.6
Steps to reproduce the problem:
preview lots of box files on same webpage
Programmtically focus on the viewer after it loads
// Programmtically focus on the viewer after it loads
if (this.viewer && this.viewer.containerEl) {
this.viewer.containerEl.focus();
}
I am not sure whether it is a good experience in this situation, because it will make the screen jump
What is the expected behavior? (Screenshots can be helpful here) I don't want to focus on the viewer after it loads, so could you please
provide a method or param to prevent focus automatically in source code.
What went wrong? (Screenshots can be helpful here)
Link to application or sample code:
If relevant, link to file (or attach file here):
The text was updated successfully, but these errors were encountered:
hxwhou
changed the title
When previewing lots of Box Files on same web page the bowser will jump up and down
When previewing lots of Box Files on same web page, the webpage will jump up and down
Sep 5, 2017
Auto focus is a good feature when there is only one preview container. But when a lots of preview container on the same web page, it looks not good. So maybe provide a parameter to control whether to focus or not is a good idea. Looking froward to next release this bug will be fixed.
Many thanks!
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
I don't want to focus on the viewer after it loads, so could you please
provide a method or param to prevent focus automatically in source code.
What went wrong? (Screenshots can be helpful here)
Link to application or sample code:
If relevant, link to file (or attach file here):
The text was updated successfully, but these errors were encountered: