jss: [react-jss] stylesheet doesn't updates if `!important` is set

Expected behavior: Stylesheet updates and color toggles with !important

Describe the bug: The stylesheet doesn’t update if !important is set. It starts the update if remove !important

Codesandbox link: https://codesandbox.io/s/sleepy-curie-rkczo

Versions (please complete the following information):

  • jss: 10.0
  • Browser [e.g. chrome, safari]: firefox, chrome
  • OS [e.g. Windows, macOS]: macOS

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 20 (10 by maintainers)

Most upvoted comments

@kof any update?

So, would it be fixed, or repository is no longer maintained ? important is a common css feature, and as far as this bug is not fixed, jss not covers even css specification. Bug is opened for two years and it’s not the only one critical bug in jss that’s not fixed for a long time.