-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Open
Copy link
Labels
BugItem which indicates that something is not workingItem which indicates that something is not workingC: UploadKendoReactRegressionRegression bugRegression bugSEV: Mediumpkg:Uploadtriagedtriaged bugstriaged bugs
Description
Description
The Upload changes its status to successfully uploaded before receiving status 200 from the browser. In scenarios where the file is small (less than 1MB), the progress bar immediately hides to show that the file was successfully uploaded without loading the progress bar to 100%. If you open the network tab, you can notice that the call returns status 200 after the UI has already displayed that the upload was successful.
Plan
KendoReact
Steps To Reproduce
- Open the following example: https://stackblitz.com/edit/react-8vqdzt5s?file=package.json
- Open the Network tab
- Upload a larger file (more than 5MB)
- Click Upload
- Notice that the progressbar hides and displays the success message before the
saverequest returns status 200 - Upload a small file (a few KB)
- Click Upload
- Notice the progress bar is shown displaying 0% and is then hidden to display a success message, while the request has not returned status 200
Screenshots or video
Actual Behavior
The success message is displayed earlier.
Expected Behavior
The success message should be displayed after the browser receives a Good status.
Last working version of the KendoReact package (if regression).
9.2.0
Additional details
Reported in TicketID: 1704372
Related to this bug - #2154
Metadata
Metadata
Assignees
Labels
BugItem which indicates that something is not workingItem which indicates that something is not workingC: UploadKendoReactRegressionRegression bugRegression bugSEV: Mediumpkg:Uploadtriagedtriaged bugstriaged bugs