React-native: Simulator unusually slow, cannot debug

Created on 8 Dec 2015  路  4Comments  路  Source: facebook/react-native

For some reason, my react-native application is very slow when I simulate it. On an actual device, everything is normal and works properly. An example for what I mean when I say acting slow is that when I press CMD + D to try to debug in Chrome, the panel that comes up from the bottom of the screen moves slower than normal, and when it finishes coming up on the screen for some reason I cannot press any of the buttons. Also reloading the app with CMD + R reloads the application, but the panel that comes up when you press CMD + D stays up, and in order to hide it I have to stop the application in Xcode and start it again.

The same thing happens if I use an "alert" in my code, the alert message will appear slowly with the same effects (I can't press "OK" and I have to reboot the whole thing). Another example is that I am using Facebook login, and when I connect to Facebook, the Facebook permissions page comes up from the bottom of the screen very slowly, however, I can interact with that page and the application will continue as normal.

The issue I am having is that I cannot debug in Chrome because when I press CMD + D, I cannot click "Debug in Chrome". That is my main concern because I cannot debug, but I would also like to fix the slow animations because that should not be happening.

Locked

Most helpful comment

Do you have slow animations turned on in the simulator?

All 4 comments

Hey nickzarate, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If this is a feature request or a bug that you would like to be fixed by the team, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • If you don't know how to do something or not sure whether some behavior is expected or a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • We welcome clear issues and PRs that are ready for in-depth discussion; thank you for your contributions!

Do you have slow animations turned on in the simulator?

Yup had slow animations turned on, thanks for the help!

Was this page helpful?
0 / 5 - 0 ratings