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
The position of the quicklook overlay is always relative to the browser window. So when you have elfinder in an overlay that is not exactly centered in the middle of the screen, the position is such that only a part of the overlay is visible. See here for example:
It would be better if the overlay would be positioned relative to the elfinder root node, or alternatively, if the overlay would be attached to the document body, not the elfinder root node
The text was updated successfully, but these errors were encountered:
@flack There is no problem if it is placed flat on the page, so I'll add an option to deal with this problem.
commandsOptions.quicklook.contain
quicklook : {autoplay : true,width : 450,height : 300,// Maximum characters length to previewtextMaxlen : 2000,// quicklook window must be contained in elFinder node on window open (true|false)contain : false,// preview window into NavDock (true|false)docked : false,// Docked preview height ('auto' or Number of pixel) 'auto' is setted to the Navbar widthdockHeight : 'auto',// media auto play when dockeddockAutoplay : false,// MIME types to use Google Docs online viewer// Example ['application/pdf', 'image/tiff', 'application/vnd.ms-office', 'application/msword', 'application/vnd.ms-word', 'application/vnd.ms-excel', 'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']googleDocsMimes : [],// URL of hls.jshlsJsUrl : '//cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js',// URL of dash.all.jsdashJsUrl : '//cdnjs.cloudflare.com/ajax/libs/dashjs/2.5.0/dash.all.min.js',// URL of run_prettify.jsprettifyUrl : '//cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js'},
The position of the quicklook overlay is always relative to the browser window. So when you have elfinder in an overlay that is not exactly centered in the middle of the screen, the position is such that only a part of the overlay is visible. See here for example:
It would be better if the overlay would be positioned relative to the elfinder root node, or alternatively, if the overlay would be attached to the document body, not the elfinder root node
The text was updated successfully, but these errors were encountered: