@react-aria/interactions
Advanced tools
Comparing version 3.22.3 to 3.22.4
@@ -347,3 +347,3 @@ var $f7e14e656343df57$exports = require("./textSelection.main.js"); | ||
// Don't preventDefault if we actually want the default (e.g. submit/link click). | ||
if ($0294ea432cd92340$var$shouldPreventDefaultUp(e.target)) e.preventDefault(); | ||
if ($0294ea432cd92340$var$shouldPreventDefaultUp(e.currentTarget)) e.preventDefault(); | ||
}; | ||
@@ -350,0 +350,0 @@ let onPointerCancel = (e)=>{ |
@@ -341,3 +341,3 @@ import {disableTextSelection as $14c0b72509d70225$export$16a4697467175487, restoreTextSelection as $14c0b72509d70225$export$b0d6fa1ab32e3295} from "./textSelection.module.js"; | ||
// Don't preventDefault if we actually want the default (e.g. submit/link click). | ||
if ($f6c31cce2adf654f$var$shouldPreventDefaultUp(e.target)) e.preventDefault(); | ||
if ($f6c31cce2adf654f$var$shouldPreventDefaultUp(e.currentTarget)) e.preventDefault(); | ||
}; | ||
@@ -344,0 +344,0 @@ let onPointerCancel = (e)=>{ |
{ | ||
"name": "@react-aria/interactions", | ||
"version": "3.22.3", | ||
"version": "3.22.4", | ||
"description": "Spectrum UI components in React", | ||
@@ -35,3 +35,4 @@ "license": "Apache-2.0", | ||
"access": "public" | ||
} | ||
} | ||
}, | ||
"gitHead": "8e0a28d188cdbdbd2b32296fa034b1b02ddde229" | ||
} |
@@ -530,3 +530,3 @@ /* | ||
// Don't preventDefault if we actually want the default (e.g. submit/link click). | ||
if (shouldPreventDefaultUp(e.target as Element)) { | ||
if (shouldPreventDefaultUp(e.currentTarget as Element)) { | ||
e.preventDefault(); | ||
@@ -946,3 +946,3 @@ } | ||
} | ||
if (target instanceof HTMLButtonElement) { | ||
@@ -949,0 +949,0 @@ return target.type !== 'submit' && target.type !== 'reset'; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
726717
110