Switcher elements as well as alerts don't work in IE11
Working CEs
Internet Explorer 11 on Windows 7 Enterprise
@dgt41 I thought we have a polyfill for browsers who don't support webcomponents (eg IE11)?
Labels |
Added:
?
|
Category | ⇒ | JavaScript |
Build | staging | ⇒ | 4.0-dev |
This is what I use for IE11 on my project:
var event = document.createEvent('Event');
event.initEvent('onFooBar', true, false);
window.dispatchEvent(event);
window.addEventListener('onFooBar', function() {
/// something here
}, false);
Status | New | ⇒ | Discussion |
@brianteeman Seems to be. The switcher works now in IE11.
I only get a JS error for the tab-state script (tabs-state.min.js (1,563) object doesn't support "evaluate" or so).
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-24 06:39:49 |
Closed_By | ⇒ | Bakual |
@Bakual about tabs-state.js: this script won't be used in J4 at all since the stageful functionality of tabs is already integrated in our new tabs component (which is fully accessible compared to the foo-bar BS). There is already a PR for showcasing the changes needed in the layouts (just change the
JHtml::_('bootstrap.startTabSet', ...)
// New code:
JHtml::_('uitab.startTabSet', ...)
This is already merged in the template repo, but will be good to also have it merged in the main repo and do the monkey work to change all the JHtml parts in the layouts
PS. The tab-state.js script has already been moved to the media/legacy folder, although I would suggest to just drop it as you already found out that it's not working in IE11
I assumed as such since it seems to have a requirement to JQuery and I know you don't like that
It's the
CustomEvent
that needs patching for IE11, the code is simple like 3 lines (I thought I did that already, maybe on the other repo, the Joomla-projects/custom-elelements).