Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent exit from page #788

Closed
wants to merge 1 commit into from

Conversation

arunachalam-monk
Copy link
Contributor

@arunachalam-monk arunachalam-monk commented Jun 14, 2024

Overview

Jira Ticket Reference : MN-556
Prevent users from navigating away from our page

Checklist before requesting a review

  • Checked online on a possible way to prevent navigating away from the page
  • using history API to achieve it. Drawback it adds the page to history.
  • using useBlocker to block navigation. Drawback it only works under Router context and still won't prevent from navigating away.

@arunachalam-monk arunachalam-monk force-pushed the feat/MN-556/alert-for-goback-browser branch from 0ff1324 to 242780e Compare June 14, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants