Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions for dynamic styles within media query issue #1590

Open
antciccone opened this issue Dec 3, 2021 · 1 comment
Open

Functions for dynamic styles within media query issue #1590

antciccone opened this issue Dec 3, 2021 · 1 comment

Comments

@antciccone
Copy link

antciccone commented Dec 3, 2021

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.
@haxxxton
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants