cssinjs/jss

[core] sheet.addRule with media query after attachment

Open

#1,038 建立於 2019年2月17日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (7,000 star) (434 fork)batch import
bugcomplexity:highhelp wanted

描述

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

貢獻者指南