- Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
good first issueGood for newcomersGood for newcomersproblem-solvingsolving problems that arise in using the packagesolving problems that arise in using the package
Description
Hi,
I've created a modal setup using this library. It's been working great, but when I press the browser back button, the modal persists. I would like it to be inactive again if I press the back button.
After searching, I did come across this useful answer on using the query param. I was wondering if there was a a way to translate this behavior to this library. For my current use case, I would like to provide a one-time code to the modal, and that code should go away if I press the browser back button or refresh the page (it works for the latter, but not the former).
Please let me know if there's a way to do so, or if it's something that you would be able to develop in the future.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersproblem-solvingsolving problems that arise in using the packagesolving problems that arise in using the package