jss icon indicating copy to clipboard operation
jss copied to clipboard

Functions for dynamic styles within media query issue

Open antciccone opened this issue 4 years ago • 1 comments

Expected behavior: When I change screen size the dynamic styles should be applied to all elements

Describe the bug: When you resize the screen and use dynamic styles within a media query one of the styles does not get applied

Reproduction:

sandbox link

Versions (please complete the following information):

  • jss: 10.8.2
  • Browser [e.g. chrome, safari]: chrome
  • OS [e.g. Windows, macOS]: mac0S Feel free to add any additional versions which you may think are relevant to the bug.

antciccone avatar Dec 03 '21 01:12 antciccone

as a note, this also appears to fail if you have a dynamic style that contains a media query, but even worse, as it completely ignores the media query value

forked sandbox link

haxxxton avatar Feb 21 '22 14:02 haxxxton