How to show prompt when user leaves a specific page? #1590
Unanswered
PhanDungTri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to show a confirm dialog when user decides to leave a specific page. I have tried the following code but there's still no dialog when I reload or click back button of the browser
Is there any problem with my code?
Beta Was this translation helpful? Give feedback.
All reactions