We're embedding the Box Content Preview in our product and running into a problem. If the element passed to the previewer is attached to the dom, but initially hidden, the previewer (once shown) will be visible, but the document is not. The error "offsetParent is not set -- cannot scroll" appears in the console. If the window is resized or the previewer's zoom controls are used, the document will usually appear. A similar no-render occurred when we had previously tried using an embed link in a non-visible iframe. Has anyone else run into this? Everything works fine if the initial state of the element is visible, but loading a Box document that is not immediately shown is a common use case for us. Are there any workarounds?
Please sign in to leave a comment.