tieniber / PrintScreen

A Mendix widget to grab an element (or the whole screen) and write it to a PDF
Apache License 2.0
0 stars 9 forks source link

Compatibility with IE? #3

Open diblaauw opened 7 years ago

diblaauw commented 7 years ago

Hi,

The widget does not seem to work with IE (11 or up). Am I correct or is that just me?

Thnx! Dirk

joppevg commented 7 years ago

Hi,

I noticed the same problem, not working in IE and Edge.

tieniber commented 7 years ago

My test project works in both IE11 and Edge. It's a little bit slower because of Microsoft's JS engine, but it generates and downloads a file for me. Can you help me reproduce the issue? Perhaps share a test project?

nvwieren commented 7 years ago

Hi, I am able to reproduce this in you test project on IE11/Edge on Windows 10 at least. If I enable catch all exceptions in the debugger I get an IndexSizeError. Searching this error brought me to: https://github.com/cstefanache/angular2-img-cropper/issues/138 where its described that these browser contain a bug(?!) which causes this issue specifically if crop coordinates are great or equal to the canvas bounds.

Can you try and see if you can reproduce this on Windows 10 with one of these browsers?

nvwieren commented 6 years ago

Any update on this?