cssinjs / cssinjs/jss

Functions for dynamic styles within media query issue

Open
#1,590 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

__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](https://codesandbox.io/s/react-jss-media-query-and-dynamic-prop-issue-4el8s)

__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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.