@tamagui/react-native-use-responder-events
Advanced tools
Comparing version 1.0.1-beta.198 to 1.0.1-beta.199
@@ -317,3 +317,3 @@ "use strict"; | ||
function attachListeners() { | ||
if (import_utils.canUseDOM && window["__tamaguiReactResponderSystemActive"] == null) { | ||
if (import_utils.canUseDOM && !window["__tamaguiReactResponderSystemActive"]) { | ||
window.addEventListener("blur", eventListener); | ||
@@ -320,0 +320,0 @@ documentEventsBubblePhase.forEach((eventType) => { |
@@ -291,3 +291,3 @@ import createResponderEvent from "./createResponderEvent"; | ||
function attachListeners() { | ||
if (canUseDOM && window["__tamaguiReactResponderSystemActive"] == null) { | ||
if (canUseDOM && !window["__tamaguiReactResponderSystemActive"]) { | ||
window.addEventListener("blur", eventListener); | ||
@@ -294,0 +294,0 @@ documentEventsBubblePhase.forEach((eventType) => { |
{ | ||
"name": "@tamagui/react-native-use-responder-events", | ||
"version": "1.0.1-beta.198", | ||
"version": "1.0.1-beta.199", | ||
"types": "./types/index.d.ts", | ||
@@ -24,3 +24,3 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.1-beta.198", | ||
"@tamagui/build": "^1.0.1-beta.199", | ||
"@types/react": "^18.0.15" | ||
@@ -27,0 +27,0 @@ }, |
@@ -473,3 +473,3 @@ /** | ||
export function attachListeners() { | ||
if (canUseDOM && window['__tamaguiReactResponderSystemActive'] == null) { | ||
if (canUseDOM && !window['__tamaguiReactResponderSystemActive']) { | ||
window.addEventListener('blur', eventListener) | ||
@@ -476,0 +476,0 @@ documentEventsBubblePhase.forEach((eventType) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
313841