Sliding the page to the left

Why does sliding the page to the left close the page and return to the previous page?

I had the same problem, I advise you to use the stack navigator to drag your screens inside and in the options of the stack navigator make the settings as you want.

This will disable the swipe that returns to the previous page.