cssinjs/jss

[core] sheet.addRule with media query after attachment

Open

#1.038 geöffnet am 17. Feb. 2019

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (434 Forks)batch import
bugcomplexity:highhelp wanted

Repository-Metriken

Stars
 (7.000 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Expected behavior: I should be able to create a style sheet, attach it to the dom and add a rule to a media query rule.

Describe the bug: Currently, the rule is added virtually but isn't rendered.

Codesandbox link: https://codesandbox.io/s/w66v8p8m35

Versions (please complete the following information):

  • jss: 9, 10
  • Browser chrome
  • OS macOS

Contributor Guide