akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
https://akveo.github.io/react-native-ui-kitten/
MIT License
7.17k stars 986 forks source link

core(navigation): navigation between layouts takes a lot of time #167

Closed artyorsh closed 5 years ago

artyorsh commented 5 years ago

It's possible to tap twice to perform navigation twice because of delay

brentvatne commented 5 years ago

you should use navigation.navigate instead of navigation.push

artyorsh commented 5 years ago

This could be extremely helpful in case we were not using it 😄

Btw currently I have no other idea of why this occurs

brentvatne commented 5 years ago

navigation should definitely not be happening twice here then 🤔

artyorsh commented 5 years ago

The main trouble of it is that the application freezes when trying to perform navigation to some route (e.g tapping on a list item to route on the details page). During this delay, user can tap any other UI element which will lead to calling navigation.navigate one more time