You can't prevent it, and you shouldn't try to. You have to make the app more resiliant. There are countless order systems on the internet, and they don't crash on back navigation.
Dec 1, 2025
2
Level 1
How to prevent/disable the back button on a browser using Laravel
I built an order system for a tablet. Because it's a web app (Laravel Breeze), I'm worried that if users press the back button—on the OS or browser—it could crash the system. How do i prevent/disable the browsers backbutton and the Tablet back button.
Please or to participate in this conversation.