You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.
Hey there,
I am using ngui/overlay with my angular2 app, which works great! Thanks a lot!
Now I need to fulfill compatibilty for an old Firefox LTS version (16.0.2). Angular2 and alle other modules I use do not make any bigger problems. At least after a few compatibility fixes.
Unfortunately ngui/overlay does not work anymore. The overlay stays in display:none even after opening. With that Firefox I cannot even open the examples on the official example page. I do not get any errors with Firebug.
Is there a way to fix this? Or are older browsers just not supported and I need to program this myself? Angular 4.0.0 is running with that browser.
Thanks in advance!
Fabian
The text was updated successfully, but these errors were encountered:
hm, I just found out, Firefox does only support "display:flex" from version 28 on.... This is why. When I change the display style to block and do the positioning myself, everything works just fine.
NOT BEAUTIFUL but a quick solution for the moment is the following code, after opening the Overlay:
`this.overlayManager.open('my-overlay', event);
/** begin Firefox 16.0.2 FIX */
let overlayEl = document.getElementsByTagName('ngui-overlay')[0];
let styleAttributes = overlayEl.getAttribute('style');
overlayEl.setAttribute('style', styleAttributes+'display: block');
/** end Firefox 16.0.2 FIX */`
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey there,
I am using ngui/overlay with my angular2 app, which works great! Thanks a lot!
Now I need to fulfill compatibilty for an old Firefox LTS version (16.0.2). Angular2 and alle other modules I use do not make any bigger problems. At least after a few compatibility fixes.
Unfortunately ngui/overlay does not work anymore. The overlay stays in display:none even after opening. With that Firefox I cannot even open the examples on the official example page. I do not get any errors with Firebug.
Is there a way to fix this? Or are older browsers just not supported and I need to program this myself? Angular 4.0.0 is running with that browser.
Thanks in advance!
Fabian
The text was updated successfully, but these errors were encountered: