@zag-js/focus-visible
Advanced tools
Comparing version
@@ -59,4 +59,3 @@ "use strict"; | ||
} | ||
if (matches) | ||
return; | ||
if (matches) return; | ||
trigger("pointer", event); | ||
@@ -66,4 +65,3 @@ } | ||
function isVirtualClick(event) { | ||
if (event.mozInputSource === 0 && event.isTrusted) | ||
return true; | ||
if (event.mozInputSource === 0 && event.isTrusted) return true; | ||
return event.detail === 0 && !event.pointerType; | ||
@@ -70,0 +68,0 @@ } |
{ | ||
"name": "@zag-js/focus-visible", | ||
"version": "0.56.0", | ||
"version": "0.56.1", | ||
"description": "Focus visible polyfill utility based on WICG", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/dom-query": "0.56.0" | ||
"@zag-js/dom-query": "0.56.1" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33659
-0.06%419
-0.95%+ Added
- Removed
Updated