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
This is due to the style caching system thinking :root and :host properties do not need to be rechecked on updateStyles().
The simple fix is to disable style caching, and the harder fix is to only disable style caching when @media or :host() selectors are used
Description
Say you have:
Live Demo
https://jsbin.com/mekike/edit?html,output
Expected Results
I'd expect the div's color to be blue if the media query is matching.
Actual Results
The div's color remains red unless you refresh the browser.
Browsers Affected
Versions
useNativeCSSProperties = false
The text was updated successfully, but these errors were encountered: