kendo-react icon indicating copy to clipboard operation
kendo-react copied to clipboard

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

Open plevamatus opened this issue 10 months ago • 6 comments

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. 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.
  2. Click on "Select files..." button and select 4 files.
  3. 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

plevamatus avatar Apr 10 '24 09:04 plevamatus

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

PaskalevStoyan avatar Apr 10 '24 11:04 PaskalevStoyan

I am also experiencing this issue.

made2burn avatar Apr 25 '24 17:04 made2burn

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

iadnonov avatar May 09 '24 05:05 iadnonov

Reported again in Ticket ID: 1656299

filipKovachev avatar Jun 25 '24 13:06 filipKovachev

Reported again - Ticket ID: 1659532

kdikov82 avatar Jul 26 '24 19:07 kdikov82

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

kdikov82 avatar Jul 26 '24 19:07 kdikov82