BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
We are using the SyncFusion React FileManager component in our application. The search functionality works correctly, retrieving the correct information from our backend. However, we encounter an issue with folder navigation. Specifically, we are unable to navigate to folders that are deeper than two levels using the double-click action. The navigation works as expected for up to two-level deep folders but fails for any deeper structure.
Steps to Reproduce:
Expected Behavior:
Double-clicking on any folder, regardless of its depth, should navigate to that folder and display its contents.
Actual Behavior:
Double-clicking on folders deeper than two levels does not navigate to the correct folder and fails to display its contents.
Additional Information:
Request for Support:
We need assistance in identifying and resolving the issue that prevents navigation to folders deeper than two levels. Any guidance or suggestions on how to properly handle deeper folder navigation in the SyncFusion React FileManager component would be greatly appreciated.
Thank you.
Hi Chirag,
Greetings from Syncfusion,
We have prepared a sample to meet your requirement with the provided code details. We have tested with multiple nested folders and we regret to inform you that we cannot be able to replicate the issue from our end.
We kindly suggest you to provide some additional details regarding the issue you are facing such as customizations you have made in the File Manager methods and events, video footage, File Manager package version you are using, issue replicating sample or try to replicate the issue in the attached sample.
If you are using older version of the File Manager component package, we suggest you to upgrade to the latest package which may resolve the issue.
We have attached sample, service provider and video footage for your reference,
Sample: https://stackblitz.com/edit/react-583p5w-qhamlo?file=index.js
Video Footage: Attached as zip file.
Service provider: Attached as zip file.
Kindly try out the shared details and get back to us if you need further assistance.
Regards,
Jafar
The usecase shared by in the video above works correctly for us too.
The problem comes when we search for folders that are more than 2-level deep. We return a flat list of all the folders that match the search string and when we try to double click any folder that is more 2 level deep, the left tree refreshes. I have attached a recording here.
there are 3 scenarios that I have covered.
In the example that you have given in this thread. When I do a double click on a folder which is more that 2 levels deep. There are more than 3 calls to the fileoperations api, with path appending at the end.
But when we try from our application, the path is not getting manipulated for folders that are more than 2 levels deep.
We would like to know how to manipulate the path when we are making the api calls and would also like to know how to do the n calls for n level folders
Thanks
Hi Chirag,
We would like to inform you that we have prepared sample by following the same folder structure with our physical provider and regret to inform you that we cannot be able to replicate the issue from our end.
On validating your query with your provided video footage we found that the filter path of the file and name are fine and issue occurs while rendering the selected file. We suspect that this issue might be due to the improper values returned from the service provider.
While checking with our physical provider, returned values are fine and selected file displayed without any issue.
However, we will try to replicate the issue with our physical provider by making customizations. Also, we kindly suggest you to provide us the details regarding the provider you are using, customizations you have made in your provider, value returned from provider. If possible, provide us the service provider you are using to validate and to provide you a prompt solution in a faster way.
We sincerely appreciate your patience and understanding in this matter.
We have attached the video footage and sample for your reference,
Video footage: Attached as zip file.
Service Provider: https://github.com/SyncfusionExamples/ej2-aspcore-file-provider
Kindly get back to us if you need further assistance.
Regards,
Jafar