cssinjs/jss

[react-jss]: Dynamic expanded styles are not updated correctly

Open

#1,051 opened on Mar 6, 2019

View on GitHub
 (0 comments) (2 reactions) (0 assignees)JavaScript (434 forks)batch import
bughelp wanted

Repository metrics

Stars
 (7,000 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Expected behavior: Dynamic styles should correctly override the previously applied styles.

Describe the bug: Dynamic styles did not correctly override the previously applied styles.

Codesandbox link: https://codesandbox.io/s/742q2630yj ( Click "All Borders" button to toggle between two sets of styles )

Versions (please complete the following information):

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

Contributor guide