question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If expo react native debugger open, swipe doesn't respond in IOS

See original GitHub issue

Description

When open react native debugger open, swipe doesn’t response in ios device and simulators.

Screenshots

Screen Shot 2021-01-08 at 20 51 00

Steps To Reproduce

  1. Open react native debugger in ios emulator or device.
  2. Swipe right or left
  3. Swipe doesn’t happen
  4. Close react native debugger
  5. Everything is fine

Expected behavior

Animation will start on swipe.

Actual behavior

Animation doesn’t start on swipe.

Snack or minimal code example

import React from "react";

import { PanGestureHandler }  from 'react-native-gesture-handler';
import  Animated from "react-native-reanimated";

const {
  Value, event,  set
} = Animated;


export default () => {
  const translationX = new Value(0);

  return (
<PanGestureHandler
  onGestureEvent={ event([
    {
      nativeEvent: {
        translationX: x => set(translationX, x),
      },
    },
  ])}>
      <Animated.View style={{height: 300, width: 300, backgroundColor: 'red', transform: [{translateX: translationX}]}}>
      </Animated.View>
    </PanGestureHandler>
  );
};

Package versions

  • React: “16.13.1”
  • Expo: “40.0.0”
  • React Native Gesture Handler: “1.8.0”

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
yolpsoftwarecommented, Mar 12, 2021

@jakub-gonet I see, thanks.

So this bug is still open, without a workaround.

2reactions
jakub-gonetcommented, Feb 14, 2021

@omid-ebrahimi, upgrade it to 1.10.1, there was a patch fixing those issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cant debug with react native debugger - Stack Overflow
The simplest solution is to make sure that you have React Native Debugger running before you do react-native run-ios And you should connect ......
Read more >
React Native: How To Publish An Expo App To TestFlight + ...
In Xcode, select the Xcode menu, select the Open Developer Tool option, and select Application Loader . Here you can import & upload...
Read more >
Intro to Debugging React Native (iOS and Android) - Medium
Debugging a React Native app, while similar to the web, is a bit different. Once you get the hang of it and know...
Read more >
In iOS 15, when the app is restarted, it immediately crashes.
If someone opens the app after ~1 hour from the last time he/she opened it, the app skips the SplashScreen and after that...
Read more >
Debugging - Expo Documentation
Start your app, open the in-app developer menu, and select “Debug JS Remotely.” Configure __REDUX_DEVTOOLS_EXTENSION__ as shown here. You're now good to go!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found