abgov / ab-compensation-transparency-toolkit

Open Source toolkit to support disclosures under Alberta's Public Sector Compensation Transparency Act
Other
6 stars 2 forks source link

Not displaying the grid in IE #11

Open sudhathomas opened 8 years ago

sudhathomas commented 8 years ago

Hi,

I was able to get this one working in qual site, while I cant see the grid in prod site in IE, or I need to refresh the page several times to get the grid up. Its working fine in chrome and firefox. Do you have any suggestions on this issue? When I checked F12 console I got below error message "Object doesn't support property or method 'create'".

Thanks

devin-serink commented 8 years ago

Sounds like 'Compatibility Mode' is being enabled on your production site. Most likely, this is through the setting that enables it by default for all "intranet sites". The good news is, if that's the case, it's only affecting internal users. The bad news is, disabling that checkbox on your or other internal users' desktops may break other internal sites that rely on compatibility mode. Short of turning it on and off all the time, I'd recommend adding the "x-ua-compatibility" header or meta tag to your site with IE=Edge to instruct IE not to use any legacy modes.

You can also confirm that this is the issue by using the emulation tab of the F12 tools to force the document mode to 11.

devin-serink commented 8 years ago

What version of IE, and what does it say under "Document Mode" when you press F12 in the Emulation tab (or equivalent for older versions of IE)?

I should also mention when we tested some stuff with IFrames we ran into a slew of complications, at least if you're crossing domains. I would generally advise against any approach involving them.