Skip to content

Media query styles applied only to the first element in function #1320

Description

@karpcs

Expected behavior:
when changing screen size media query in function should apply styles to all the component that uses it

Describe the bug:
only the first component gets the styles of media query in function, it looks like it was introduced in 10.0.1

Codesandbox link:
https://codesandbox.io/s/react-jss-playground-nwurq

Versions (please complete the following information):

  • jss:10.1.1
  • Browser saw it on chrome, havent tested others
  • OS windows10:

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions