react-native-skeleton-content-nonexpo icon indicating copy to clipboard operation
react-native-skeleton-content-nonexpo copied to clipboard

App freezing when turning on debug with chrome

Open Iamivan1996 opened this issue 2 years ago • 5 comments

Describe the bug Just turning on debug with chrome, then the app is freezing for both Platform OS without any error, all the buttons are not working and also can not scroll down the page until set the props "isLoading" to false.

To Reproduce Steps to reproduce the behavior:

  1. Turning on debug with chrome

Expected behavior Expect in debug and release mode, the animation will works fine and will not effect the app stability

Screenshots https://user-images.githubusercontent.com/30230906/180197942-a7bdc961-2585-460e-ac81-c8b182048253.mov image

Smartphone (please complete the following information):

  • Device: iPhone13 Simulator , Samsung S22 Ultra
  • OS: IOS15.5, Android 12
  • Package version: "react-native-reanimated": "^2.4.1", "react-native-skeleton-content-nonexpo": "^1.0.13",
  • React Native Version : 0.67.3

Iamivan1996 avatar Jul 21 '22 10:07 Iamivan1996

I'm having the same issue. Any help here?

Cantinaband avatar Aug 01 '22 10:08 Cantinaband

@alexZajac any idea why this happens? It's really a bummer not to use the chrome debugger anymore...

Cantinaband avatar Aug 23 '22 06:08 Cantinaband

Same issue here

RN: 0.68.2 react-native-skeleton-content-nonexpo: 1.0.1 react-native-linear-gradient: 2.6.2

kostas64 avatar Sep 06 '22 17:09 kostas64

Is there any updates? I'm still experiencing this issue.

fullstack17 avatar Sep 20 '22 14:09 fullstack17

I have this issue even WITH expo. I've tried Chrome, the WebStorm debugger (which is pretty much just Chrome-by-remote, so not surprising that this doesn't work), and even VSCode, which implements its own debugger, and they all hang. It's not clear whether it's the fault of reanimated or skeleton-content, but both are well-represented in the stack traces I see.

If I comment out all occurrences of SkeletonContent in my app, the problem goes away.

ipmcc avatar Oct 11 '22 15:10 ipmcc

+1
Device: Android Emulator, Android 12.0 (S) API-31 react-native-skeleton-content-nonexpo: 1.0.13 react-native-reanimated: 2.10.0 react-native: 0.67.4

suraj-ingle avatar Oct 21 '22 06:10 suraj-ingle

Since the library is using react-native-reanimated, the chrome debugger/react native debugger won't work, unfortunately. You need to use Flipper for debugging.

kiratot avatar Nov 15 '22 11:11 kiratot

...which is a really good argument for NOT using reanimated v2. But I digress...

ipmcc avatar Nov 15 '22 13:11 ipmcc

Hi! We cannot get out of reanimated-v2, at least in the current state of the project. Closing this one as long as there is no viable option to replace reanimated-v2.

alexZajac avatar Dec 03 '22 15:12 alexZajac

I take issue with the use of the word "cannot" here, as well as the idea that there are no viable alternatives to Reanimated v2 -- RN had animation before Reanimated v2 came along; it's hardly the only option (React.Animated and Reanimated v1 are obvious alternatives) -- but as they say: 'not my circus, not my monkeys.' That aside, it looks like the Reanimated folks are restoring some marginal debug-ability in v3, so maybe the answer is to jump on board with that as soon as it's good to go.

ipmcc avatar Dec 03 '22 17:12 ipmcc