@react-aria/interactions
Advanced tools
Comparing version 3.0.0-nightly-9421c1409-240923 to 3.0.0-nightly-987f174ba-241015
@@ -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.0.0-nightly-9421c1409-240923", | ||
"version": "3.0.0-nightly-987f174ba-241015", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,5 +25,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/ssr": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/utils": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-types/shared": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/ssr": "^3.0.0-nightly-987f174ba-241015", | ||
"@react-aria/utils": "^3.0.0-nightly-987f174ba-241015", | ||
"@react-types/shared": "^3.0.0-nightly-987f174ba-241015", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -37,3 +37,3 @@ }, | ||
}, | ||
"stableVersion": "3.22.2" | ||
"stableVersion": "3.22.4" | ||
} |
@@ -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
715450