We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Strange bug when hiding navigation pane

I have a strange bug that occurs when setting visible to false in navigationPaneSettings.  The page keeps refreshing quickly, forever.  This is the code:

     var filemanagerInstance = new ej.filemanager.FileManager({
          ajaxSettings: {
               url: hostUrl + 'FileManager/FileOperations',
               getImageUrl: hostUrl + 'FileManager/GetImage',
               uploadUrl: hostUrl + 'FileManager/Upload',
               downloadUrl: hostUrl + 'FileManager/Download'
          },
          view: "Details",
          allowDragAndDrop: true,
          navigationPaneSettings: { visible: false },
          beforeSend: function (args) {
               var data = JSON.parse(args.ajaxSettings.data);
               data["sonbr"] = ordernum.toString();
               args.ajaxSettings.data = JSON.stringify(data);
          }          
     });

I have tried moving the option below the beforeSend function and I tried adding the maxWidth and minWidth options, but the bug keeps occurring.  Removing the highlighted line removes the bug and everything works correctly.

1 Reply

KR Keerthana Rajendran Syncfusion Team November 20, 2019 05:39 AM UTC

Hi William, 
 
Sorry for the inconvenience.  
 
We were unable to understand your requirement clearly. We checked the sample while setting navigationPaneSettings as false and also set maxwidth and minWidth for that property, it indicates no changes in file manager component UI. Since, you have already disabled the navigationPaneSettings property, in that case there is no need to set the maxWidth and minWidth for that property. 
  
So, could you please share the below additional details regarding your requirement, it will helpful for us to resolve your issue at earlier. 
 
1.      List out the property enabled for file manager component. 
2.      Video for issue reproducing behavior 
3.      Send the error screenshot 
4.      Reproduce the issue from previous updated sample (if possible). 
 
Regards, 
Keerthana. 


Loader.
Live Chat Icon For mobile
Up arrow icon