T
TanStack2y ago
automatic-azure

Confirm when user press the back button of browser

Can I confirm when user press the back button of browser? Hope your help, thank you
2 Replies
harsh-harlequin
harsh-harlequin2y ago
Navigation Blocking | TanStack Router Docs
Navigation blocking is a way to prevent navigation from happening. This is typical if a user attempts to navigate while they: Have unsaved changes
automatic-azure
automatic-azureOP2y ago
hi @Manuel Schiller , Can I action after confirm? I want to call an api when user click confirm

Did you find this page helpful?