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

Implemented: scanner modal closes on pressing browser back button on the picklist detail page #153

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

sanskar345
Copy link
Contributor

Related Issues

Closes #128

Short Description and Why It's Useful

Solution - we can use an in-component navigation guard with a setup function in the picklist detail page and when the user moves away from the current route we can close the modal using the guard.

Changed Behaviour will be - If the user opens the scanner modal and clicks on the browser back button in the picklist detail page then the user moves to the previous page and modal closes.

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change

Contribution and Currently Important Rules Acceptance

@sanskar345 sanskar345 marked this pull request as ready for review August 4, 2023 08:40
@ravilodhi ravilodhi merged commit b930470 into hotwax:main Aug 10, 2023
4 checks passed
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.

Browser back button from scanner
3 participants