Ajax file upload, 'progress' upload event does not fire in Edge browser

后端 未结 1 1258
猫巷女王i
猫巷女王i 2021-01-04 18:24

I\'m developing a file upload control that posts form data via ajax.

I have this working cross browser in Chrome, Firefox, IE 11, 10. However in the Microsoft Edge b

相关标签:
1条回答
  • 2021-01-04 19:12

    This is a known issue of Edge 15, as you can check here. Anyone can reproduce the error with this fiddle.

    xhr.upload.onprogress = updateProgress;
    // I only added this code because stack overflow forced me!
    

    As you can see, it only updates when reaching a hundred percent.

    Update The Windows October seems to fix this bug on Edge (Windows Version 1809)

    0 讨论(0)
提交回复
热议问题