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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Strange bug when hiding navigation pane

Thread ID:

Created:

Updated:

Platform:

Replies:

149239 Nov 19,2019 09:22 PM UTC Nov 20,2019 05:39 AM UTC JavaScript - EJ 2 1
loading
Tags: FileManager
William
Asked On November 19, 2019 09:22 PM UTC

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.

Keerthana Rajendran [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon