telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 39 forks source link

[Bug][Upload] Using the component in an uncontrolled state results in inconsistent successfully uploaded message and progressbar progress #2154

Open plevamatus opened 7 months ago

plevamatus commented 7 months ago

I'm submitting a...

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. image

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

  1. Open demo in codesandbox.io https://codesandbox.io/p/sandbox/sharp-burnell-lpf9n9 which is inspired by your example.
    1. Click on "Select files..." button and select 4 files.
    2. 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:

System:

PaskalevStoyan commented 7 months ago

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

made2burn commented 6 months ago

I am also experiencing this issue.

iadnonov commented 6 months ago

Reported again in https://github.com/telerik/kendo-react/issues/2238

filipKovachev commented 4 months ago

Reported again in Ticket ID: 1656299

kdikov82 commented 3 months ago

Reported again - Ticket ID: 1659532

kdikov82 commented 3 months ago

Could be related with the switch to createRoot (https://github.com/telerik/kendo-react/issues/1443)