Fast multiple tapping navigates to multiple screens in react navigation

#1

I know this is not Expo related issue but I cannot really get an issue opened in the react navigation community as I end up being redirected to the discussion already opened for that problem. I went through the discussion opened in react navigation community and I cannot really see what solution did the contributors there settled on … I am new to react native platform and I hope if someone can point me to how exactly modify my stack navigator to resolve this issue.

#2

In recent React Navigation versions, you can use:

navigate({ key: 'Page', routeName: 'Page' })

Routes with the same key will only navigate once, so multiple presses will only open one page.

2 Likes
closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.