proper detection
This commit is contained in:
parent
23975b506e
commit
04ee1a892c
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export const createStyleSheet = (id, priority = 1000) => {
|
|||
}
|
||||
|
||||
// firefox doesn't like invalid selectors
|
||||
if (!CSS.supports?.('::-webkit') && newRule.startsWith('::-webkit')) {
|
||||
if (!CSS.supports?.('selector(::-webkit-scrollbar)') && newRule.startsWith('::-webkit')) {
|
||||
return
|
||||
}
|
||||
this.rules.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue