We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a948757 commit 1480d9fCopy full SHA for 1480d9f
src/index.ts
@@ -8,7 +8,9 @@ let supportsModalPseudo = false
8
try {
9
// This will error in older browsers
10
supportsModalPseudo = document.body.matches(':modal') === false
11
-} catch {}
+} catch {
12
+ supportsModalPseudo = false
13
+}
14
15
export const baseSupport =
16
typeof globalThis === 'object' &&
0 commit comments