I am facing the same issue and have realized that the issue occurs when we place the view inside the navigation stack or navigation.