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
Hi, we have the problem that the file explorer spinner does not disappear (sometimes) in our salesforce digital experience community.
i figured out that if i put a breakpoint in the first line of "renderedCallback" in qsycdFileExplorerTree.js it renders later and thus it somehow always works so i guess it is a timing issue or something.
hint: if i remove the spinner manually or by js code the component works well so i can access all files and stuff and it fully works.
The text was updated successfully, but these errors were encountered:
Hi Paul. Thanks for your reply. It does not happen everytime. Our idea is that because our loading times fluctuate it loads too slow/fast or something in some cases. One user reported that he has no isses with chrome icognito (at least when he opens a fresh chrome icognito window) AND in generel no issues with firefox and edge so he assumes that it has to do with caching... Maybe there is something asynchronoes going on and the first load takes longer (e.g. to load the base js files or whatever) and therefore an important request starts at the right time?
Our temporary solution:
<script>
/* file explorer hack to remove the spinner that does not disappear under some circumstances */
window.setInterval(() => {document.getElementsByTagName('qsyd_fe-qsyd-file-explorer')[0]?.getElementsByTagName('lightning-spinner')[0]?.remove()}, 5000)
</script>
<style>
/* file explorer hack to remove the document tree on the left side of the file explorer as it does not work quite often */
.file-explorer-container .file-tree-container, .file-explorer-container .drag-bar {
display: none !important;
}
</style>
Hi, we have the problem that the file explorer spinner does not disappear (sometimes) in our salesforce digital experience community.
i figured out that if i put a breakpoint in the first line of "renderedCallback" in qsycdFileExplorerTree.js it renders later and thus it somehow always works so i guess it is a timing issue or something.
hint: if i remove the spinner manually or by js code the component works well so i can access all files and stuff and it fully works.
The text was updated successfully, but these errors were encountered: