@react-aria/interactions 3.20.0 → 3.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/import.mjs CHANGED
@@ -102,7 +102,7 @@ function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
102
102
  {
103
103
  if (target && $14c0b72509d70225$var$modifiedElementMap.has(target)) {
104
104
  let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);
105
- if (target.style.userSelect === "none" && targetOldUserSelect) target.style.userSelect = targetOldUserSelect;
105
+ if (target.style.userSelect === "none") target.style.userSelect = targetOldUserSelect;
106
106
  if (target.getAttribute("style") === "") target.removeAttribute("style");
107
107
  $14c0b72509d70225$var$modifiedElementMap.delete(target);
108
108
  }
package/dist/main.js CHANGED
@@ -129,7 +129,7 @@ function $f7e14e656343df57$export$b0d6fa1ab32e3295(target) {
129
129
  {
130
130
  if (target && $f7e14e656343df57$var$modifiedElementMap.has(target)) {
131
131
  let targetOldUserSelect = $f7e14e656343df57$var$modifiedElementMap.get(target);
132
- if (target.style.userSelect === "none" && targetOldUserSelect) target.style.userSelect = targetOldUserSelect;
132
+ if (target.style.userSelect === "none") target.style.userSelect = targetOldUserSelect;
133
133
  if (target.getAttribute("style") === "") target.removeAttribute("style");
134
134
  $f7e14e656343df57$var$modifiedElementMap.delete(target);
135
135
  }