Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react-native with xcode simulator has very slow alerts

In general, the xcode simulator works very well with react-native. For example, using live reload, changes made to the code are reflected in less than a second. However if I do Cmd+d in the simulator to bring up Debug menu, the menu comes up very quickly, but I cannot click any option for something like 20 seconds. The same happens with a javascript alert, the alert comes up quickly but it takes 10 to 20 seconds to be able to dismiss it.

How can I fix this?

like image 302
Obromios Avatar asked Mar 22 '16 21:03

Obromios


1 Answers

Maybe you are pressing cmd+T by mistake? This command triggers 'slow animations', so all animations in the simulator happens very slowly

like image 173
Kaleb Portilho Avatar answered Oct 22 '22 00:10

Kaleb Portilho