Description: We have encountered an issue with the Kendo UI FileManager component related to drag-and-drop uploads and the navigation bar.
Issue Details:
- Duplicate Uploads on Drag-and-Drop: When performing a drag-and-drop upload, the file(s) are uploaded twice. This occurs because the API is called twice during the drag-and-drop operation, resulting in duplicate uploads.
- Navigation Path Issue: The navigation bar at the top does not function as expected. When clicking a navigation path link, the FileManager navigates back to the home directory instead of the intended path. However, the navigation tree on the left works correctly.
Steps to Reproduce:
- Open the Kendo UI FileManager.
- Drag and drop a file into the FileManager interface.
- Observe the file being uploaded twice.
- Click on any path link in the navigation bar at the top.
- Observe that it navigates to the home directory instead of the intended path.
Expected Behavior:
- The file(s) should be uploaded only once during drag-and-drop.
- The navigation bar should correctly navigate to the intended path, similar to the navigation tree on the left.
Attached Video: A video demonstrating both issues have been attached for reference. It shows how the file is uploaded twice during drag-and-drop and how the navigation bar fails to navigate properly.
Attached Source Code: I have also attached my JavaScript and controller upload source code for reference. This will provide additional context for the implementation and may help in identifying the root cause of the issues.
Reference:https://demos.telerik.com/kendo-ui/filemanager/index
Hi Afandi,
Thank you for the screen recording.
I tested the described but I was unable to reproduce it using the official demo you mentioned.
Drag and dropping a file uploads it just once and clicking on a path in the navigation bar also leads me to the clicked path correctly. Please refer to the next screencast I recorded: https://app.screencast.com/4lfX0WL3Tq69t
I recommend preparing a runnable project where the problem is replicated and submitting it in a private support thread so we can investigate.
regards,
Nikolay