I am a developer, and I detest IE. It absolutely never works right. I would gladly give you any code you need.
I use Bootstrap and Knockout very heavily in my app. The downside, is my app is very dependent on our Oracle database, and we do not currently have an external server that I could give you access to the UI. I can give you screen prints if needed, just let me know what you need.
This is a feedback system that I built, and it works perfect on Firefox and Chrome. But in IE, itâs almost as if IE doesnât understand the CSS. The data elements are all out of whack.
See the screen print attached.
Here is a feedback screen print captured from Firefox, it works great.
https://dl.dropboxusercontent.com/1/view/zl56we9cwiudmb1/ACS.Data/Feedback/Screen_0001442.png
This is a feedback item (from a different screen) opened on I.E.
https://dl.dropboxusercontent.com/1/view/z843plk200zuc0u/ACS.Data/Feedback/Screen_0001468.png
This is my code to do the canvas.
html2canvas($form, {
allowTaint: true,
logging: false,
timeout: 0,
}).then(function (canvas) {
var canvasData = canvas.toDataURL();
var jsonData = {
UI_FDB_FORM: url,
UI_FDB_MODEL: model,
UI_FDB_AAAMBR: getCurrMbr(),
UI_FDB_IMAGEDATA: canvasData.replace(/^data[:]image\/(png|jpg|jpeg)[;]base64,/i, ""),
}
DoDialog('Site Feedback', '/Common/Feedback', 900, jsonData);
});
This is the HTML for the âheaderâ section which is all wacked out. This uses standard bootstrap classes.
Address 1:
Status:
Exp Date:
Agent:
Class:
Address 2:
Program:
Due:
Bill Date:
Years AAA:
City:
Phone:
Bill Sent:
Years Local:
From: dfiori [mailto:[email protected]]
Sent: Thursday, September 24, 2015 10:20 AM
To: niklasvh/html2canvas [email protected]
Cc: Brian Kitt [email protected]
Subject: Re: [html2canvas] Rendering on IE is totally different from Chrome and Firefox (#678)
Thanks for your feedback. I know IE is really bad as browser. If you can explain some basic "how it works" of your library maybe I can try to undertand why these issues happens and help you with your code.
â
Reply to this email directly or view it on GitHub https://github.com/niklasvh/html2canvas/issues/678#issuecomment-142960567 . https://github.com/notifications/beacon/AC4z-Kr_N3vZIH8CnEx3WbgXN9Qk1ec6ks5o1Aw0gaJpZM4GAtaU.gif
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Most helpful comment
@niklasvh Though I am not the author of this issue, I have tested the newest version with IE11 and still get the same issue. I'm struggling to replicate a jsfiddle example so I've prepared an example application which can be found at another issue post: https://github.com/niklasvh/html2canvas/issues/1451
Works perfectly in Edge and Chrome but still wraps columns in IE