Widget hijacks scrolling page
AnsweredI have embeded box.com widget on the page in the Angular site.
Something like:
When the widget loads, it makes the page scroll to it.
How to avoid it?
-
Unfortunately, auto focus is defaulted to true in the underlying box-content-preview SDK and the Box embed widget doesn't seem to allow a way to specify preview options.
Would using the underlying box-content-preview library to preview files be a possible workaround in the meantime?
-
You can check out the open source project here: https://github.com/box/box-content-preview. It includes samples to get you up and running
Please sign in to leave a comment.
Comments
4 comments