Skip to main content

Hello @Niladri, thanks for posting your question. Firstly, could you please use the latest version which is 17.1.0?



https://cdn01.boxcdn.net/platform/elements/17.1.0/en-US/explorer.css


https://cdn01.boxcdn.net/platform/elements/17.1.0/en-US/explorer.js



Could you specify what Frontend framework are you using? Are there any additional errors in the browser console?



Regards,


Olga


HI @ostefaniuk, Thanks for answering the question. We are using a script that seems to be causing the issue.



Regards,


Niladri


Hi @Niladri, did you managed to adjust the script you mentioned?


Hi @ostefaniuk,



Yes, we have fixed the issue.


We were using RequireJS library which caused the preview issue.



However, we have fixed the issue by forwarding ‘fixDependencies’ property to Content Preview widget by using ‘contentPreviewProps’ property.



Please find the following code snippet:



var contentExplorer = new Box.ContentExplorer();

contentExplorer.show(folderId, accessToken, {

container: ".explorer-container",

contentPreviewProps: {

fixDependencies: true

}

});



Regards,


Niladri


Hi @Niladri, Thanks a lot for the update!


Reply