alnorris / file-dialog

Trigger the upload file dialog directly from your code easily.
60 stars 12 forks source link

IE support #4

Closed szkrd closed 6 years ago

szkrd commented 7 years ago

Hi! The README says "Support for all major browsers", could you please be more specific in the description at least with the minimum supported versions? I guess IE11 is supported, and maybe IE10, or am I wrong here? Thank you!

alnorris commented 7 years ago

@szkrd It's been tested in Edge, not in IE11 or IE10. If you could do some testing and let me know that would be great. (file-dialog.min.js should be tested)

szkrd commented 7 years ago

I did a small test page only for myself back in the office, and it seemed to me that without adding the element to the body this will not work in IE (tested with IE10 mode in IE11). You can take a look at it here - it's quite silly I know, but did it in half an hour or so.

I also think that initMouseEvent has been deprecated. Not promising a PR though, sry :(

szkrd commented 6 years ago

This may be closed as far as I can see. Thank you!