form icon indicating copy to clipboard operation
form copied to clipboard

uploadProgress function not working in Microsoft Edge

Open schmidtc63 opened this issue 7 years ago • 13 comments

This just started recently, probably after an update to either Edge or Windows 10.

The uploadProgress function is not triggering until the upload is complete. It works fine in Chrome, Firefox and Internet Explorer. I've just downloaded the latest version of jquery.form.js and the issue is the same.

            uploadProgress: function (event, position, total, percentComplete) {
                if (running === false) {
                    running = true;
                    parent.postMessage("status|running","*");
                }
                var percentValue = percentComplete + '%';
                bar.width(percentValue);
                bar.html(percentValue);
            },

schmidtc63 avatar May 14 '17 14:05 schmidtc63

Instructions for Reporting a Bug What are the specific version numbers of the Form plugin, jQuery library, Edge browser, and Windows you're using? Please include a link to a JSFiddle or CodePen example of the error so that others can reproduce the issue you're seeing.

kevindb avatar May 15 '17 12:05 kevindb

Closing due to lack of information.

kevindb avatar Jun 14 '17 02:06 kevindb

@kevindb same problem here (The uploadProgress function is not triggering until the upload is complete) on edge version > 25

Example: http://hayageek.com/docs/jquery-upload-file.php#single

codex-corp avatar Aug 11 '17 10:08 codex-corp

@codex-corp, I don't see an actual example of the problem at the link you provided. A reproducible/verifiable example is important in order to be able to debug. JSFiddle and CodePen are particularly helpful, because others can execute the example you've set up. https://stackoverflow.com/help/mcve

kevindb avatar Aug 11 '17 12:08 kevindb

@kevindb

http://jsfiddle.net/uKvE2/

codex-corp avatar Aug 11 '17 12:08 codex-corp

any update?

codex-corp avatar Oct 23 '17 13:10 codex-corp

I haven’t heard anything.

schmidtc63 avatar Oct 23 '17 15:10 schmidtc63

I'm afraid I don't know. I, personally, have never used the upload feature. Perhaps somebody from the community can answer.

kevindb avatar Dec 04 '17 18:12 kevindb

jQuery (v 1, 2 or 3), jQuery Form (I tested under 4.2.1 and 4.2.2), and Microsoft Edge (tried version 16).

Problem: jQuery Form's uploadProgress method only triggers when the upload is completed.

DanyPell avatar Jan 12 '18 18:01 DanyPell

Perfect example. This should give anyone there all the info they need.

schmidtc63 avatar Jan 12 '18 21:01 schmidtc63

Still a problem in the latest edge update (version 17)

http://jsfiddle.net/pthoty2e/ and https://stackoverflow.com/questions/43942396/ajax-file-upload-progress-upload-event-does-not-fire-in-edge-browser

behelit avatar Feb 26 '18 05:02 behelit

I have added the "help wanted" label to this issue. I, personally, have never used the file upload feature, so I'm not at all familiar with it. I'm hoping someone from the community, ideally someone on this thread who is encountering this problem, will submit a pull request to resolve the issue. I am very open and responsive to pull requests.

kevindb avatar Feb 26 '18 16:02 kevindb

Still reproducing

ghost avatar Aug 30 '18 10:08 ghost