@react-aria/interactions 3.0.0-nightly.1908 → 3.0.0-nightly.1917
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/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/main.js
CHANGED
|
@@ -748,9 +748,9 @@ function $625cf83917e112ad$export$715c682d09d639cc(onBlur) {
|
|
|
748
748
|
let target = e.target;
|
|
749
749
|
let onBlurHandler = (e)=>{
|
|
750
750
|
var // For backward compatibility, dispatch a (fake) React synthetic event.
|
|
751
|
-
|
|
751
|
+
_stateRef_current, _stateRef_current_onBlur;
|
|
752
752
|
stateRef.current.isFocused = false;
|
|
753
|
-
if (target.disabled) (
|
|
753
|
+
if (target.disabled) (_stateRef_current_onBlur = (_stateRef_current = stateRef.current).onBlur) === null || _stateRef_current_onBlur === void 0 ? void 0 : _stateRef_current_onBlur.call(_stateRef_current, new $625cf83917e112ad$export$905e7fc544a71f36("blur", e));
|
|
754
754
|
// We no longer need the MutationObserver once the target is blurred.
|
|
755
755
|
if (stateRef.current.observer) {
|
|
756
756
|
stateRef.current.observer.disconnect();
|