kendo-react
kendo-react copied to clipboard
[Bug][Upload] Using the component in an uncontrolled state results in inconsistent successfully uploaded message and progressbar progress
I'm submitting a...
- Bug report
Current behavior
When uploading multiple files at once, the upload control incorrectly indicates whether a file was successfully uploaded or not. For some files, the progress bar remains visible, for others, 'File(s) successfully uploaded' is displayed, and some appear as if their upload never started, despite all requests ending with a status of 200.
See attached video (https://github.com/telerik/kendo-react/assets/11454499/cbdeeb5f-92c8-4810-b9f1-0618aea9adb1) and screenshot.
Expected behavior
I would expect that after successfully uploading files, the text 'File(s) successfully uploaded' would appear for each one, and the progress bar would disappear.
Minimal reproduction of the problem with instructions
- Open demo in codesandbox.io https://codesandbox.io/p/sandbox/sharp-burnell-lpf9n9 which is inspired by your example.
- Click on "Select files..." button and select 4 files.
- Wait until the upload finishes.
Environment
Package versions:
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.0",
"@progress/kendo-react-upload": "7.3.0",
"@progress/kendo-theme-default": "7.2.1",
"@progress/kendo-react-common": "7.3.0",
"@progress/kendo-licensing": "1.3.5",
"@progress/kendo-react-progressbars": "7.3.0",
"@progress/kendo-react-animation": "7.3.0",
"@progress/kendo-react-intl": "7.3.0",
"@progress/kendo-intl": "3.1.2",
"@progress/kendo-react-buttons": "7.3.0",
"@progress/kendo-react-popup": "7.3.0",
"@progress/kendo-popup-common": "1.9.2",
"axios": "1.6.8",
"react-transition-group": "2.5.3"
Browser:
- Chrome (desktop) version 122.0.6261.131
System:
- Platform: Windows
hello @plevamatus,
Thanks for reporting the issue to us. This appears to be a bug on our side. Please excuse us for the inconvenience caused. Our team will fix it as soon as possible.
If you have any other questions, please don't hesitate to submit a ticket in our support system.
Cheers, Stoyan
I am also experiencing this issue.
Reported again in https://github.com/telerik/kendo-react/issues/2238
Reported again in Ticket ID: 1656299
Reported again - Ticket ID: 1659532
Could be related with the switch to createRoot (https://github.com/telerik/kendo-react/issues/1443)