Styles removed completely in IE11 on 3rd call to cssVars
See original GitHub issueNot sure if this is a duplicate of https://github.com/jhildenbiddle/css-vars-ponyfill/issues/148 or not
I am having issues in IE11, whereby multiple callls to cssVars cause the styles to be removed completely - logging cssText in the onComplete callback shows that cssText is an empty string.
The problem only occurs in IE11. It works fine in Firefox and Chrome (and yes I have set onlyLegacy to false).
I have noticed that after calling cssVars the first time, the link
I am targeting has disabled=""
in IE11, but not in the modern browsers. Not sure if that is the cause of the problem or not.
It is on the third call to cssVars that the cssText is empty.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top Results From Across the Web
IE11 - does a polyfill / script exist for CSS variables?
Yes, so long as you're processing root-level custom properties (IE9+). GitHub: https://github.com/jhildenbiddle/css-vars-ponyfill ...
Read more >IE11 callback when variables have updated? #98 - GitHub
I'm updating css variables using variables when a user logs in to my application. In IE11, I'm experiencing a delay before the variables...
Read more >Cross Browser Compatibility of CSS Variables (Custom ...
CSS Variables (Custom Properties) is Not Supported on Internet Explorer 11. If you use CSS Variables (Custom Properties) and your users are ...
Read more >How to use CSS custom properties (a.k.a. variables)
How to use CSS custom properties (a.k.a. variables) ... Note: CSS variables are not and won't be supported in IE11. You can either...
Read more >css-vars-ponyfill - GitHub Pages
css -vars-ponyfill - Client-side support for CSS custom properties (aka "CSS ... or <style> node has been added or removed … or manually...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@muster-mark, @JaxonWright –
Fixed in 2.4.3.
This update also properly handles (i.e., ignores) stylesheets disabled by the user via JS (by setting
sheet.disabled
totrue
) or adisabled
attribute on a<link>
tag.Thanks again for your patience on this one.
Apologies for the delayed fix, folks. Holidays + switching to an M1-based Mac that doesn’t play well with node-based projects have pushed back a quick fix. I’ll do my best to get to it before EOW.