Topic: mdb-file-upload has no loading spinner
alex737876 premium asked 3 years ago
Expected behavior
mdb-file-upload processes file input asynchrouneosly, shows loading spinner while during processing file upload internally.
Actual behavior mdb-file-upload plugin freezes after drag&drop of 200MB image file. User thinks it does do nothing and clicks again.
Resources (screenshots, code snippets etc.)
See https://ng-demo.mdbootstrap.com/plugins/file-upload,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: 10.1.1
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 3 years ago
Thank you for reporting this problem. We will take a closer look at the issue with the preview image and discuss the spinner feature with our design team.
alex737876 premium commented 3 years ago
@Arkadiusz Idzikowski Thank you, any updates?
Arkadiusz Idzikowski staff commented 3 years ago
@alex737876 Adding this functionality will likely require a major component update. This is an extreme use case of the and now has a lower priority than fixes in other components.
We currently suggest decreasing the size of the image before upload.
alex737876 premium commented 3 years ago
Hi, its okay, i can live without loading spinner. Sadly the upload is not in our hand, its the customers. Could you provide a workaround that provides an option or parameter. That allows to optionally Disable the internal pre-processing? Maybe if this disables the preview image functionality will be ok as i dont need it. @Arkadiusz Idzikowski THX
Arkadiusz Idzikowski staff commented 3 years ago
@alex737876 I think for now we can add an input that will allow disabling preview and showing only file type and name. We will take a closer look at that to see if that helps in this case and let you know about updates.