-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got DOWN touch before receiving UP or CANCEL from last gesture #30080
Comments
experiencing the same issue ( |
@penchef are you using rn-navigation? |
@spacesuitdiver yes UPDATE: Neither updating to react-native-navigation 6.12.2 nor 7.1.0 solved the issue |
RNN version 7.0 https://wix.github.io/react-native-navigation/docs/installing app/build.gradle
Adding this two dependencies solved problem. |
Tried what @yevhenlv suggested, no luck on my end, using RNN 7.1.0. |
ditto: no luck with suggested workaround, tried RNN 7.0.0 / 7.1.0 / 6.7.1 ... |
I think it depends on warnings on screen (after opening one of them I got this error again). |
Same issue here |
@penchef @spacesuitdiver Did you find a solution? |
Chiming in to say I'm experiencing the same issue. react-native: 0.63.3 Experiencing the error on real device & emulator. Only occurs in debug mode on Android. Release builds do not have this issue. |
|
|
Is this issue specific to RNN? Could someone provide a small repro of this issue, to debug further? |
I am not sure if this issue is related to RN or RNN, but for anyone who comes across this issue without resolution, I can confirm downgrading to the following versions resolved the issue for me: react-native: 0.61.5 Obviously this solution will not work for those who want to be on RN 0.63+ and RNN 7+, but I couldn't spend the time troubleshooting this issue so the version downgrade was a welcome compromise. |
The LogBox Dialog is picking up (part of) the touches. You can see this when you add a breakpoint to View.dispatchTouchEvent at the places where it returns "true": the ReactRootView from LogBox takes the touch. The cause: someone is calling "show()" from Javascript, and nothing shows but an empty dialog. I'm done with debugging. Working around the problem for now, by adding my own LogBoxModule implementation, that does not call |
@Frank1234 Could you share some code or some useful links for creating own module implementations? I'm still facing this issue. |
UPDATE #kudos to @risland for isolating the issue! We've been able to create a (minimal??) reproducible repo: As @yevhenlv and @Frank1234 were suspecting, the issue seems to be with some empty error dialog popping up over everything else. In our case the issue was an Moving the import {persistStore, persistReducer} from 'redux-persist';
import {Navigation} from 'react-native-navigation';
import {combineReducers, createStore, compose} from 'redux';
import AsyncStorage from '@react-native-community/async-storage';
import React from 'react';
import {SafeAreaView, StatusBar, Button, Alert} from 'react-native';
// DOES WORK HERE!
Navigation.registerComponent('foo.bar', () => App);
const store = configureStore();
persistStore(store, null, () => {
// DOES NOT WORK HERE!
// Navigation.registerComponent('foo.bar', () => App);
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: 'foo.bar',
},
},
],
},
},
});
});
... Good luck everyone out there! |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
Got next error in ReactNative (android)
E unknown:ReactNative: Got DOWN touch before receiving UP or CANCEL from last gesture
PowerWrap: PowerHal_TouchBoost
Screen doesn't react on touch events and looks like freezing, but all background tasks running with success result and debugger doesn't show other errors.
RN 0.63.3 RN-navigation 7.0.0
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 33.66 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.18.0 - /usr/local/bin/node
Yarn: 1.19.0 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0. - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
Languages:
Java: javac 13 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
The text was updated successfully, but these errors were encountered: