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

The redirect modal keeps showing up when customer clicks the back button in Safari #5113

Closed
leonardola opened this issue Nov 11, 2022 · 0 comments · Fixed by #5125
Closed
Assignees
Labels
type: bug The issue is a confirmed bug.

Comments

@leonardola
Copy link
Contributor

leonardola commented Nov 11, 2022

Describe the bug

When a customer goes to WooPay and then clicks the browser back button on safari the redirecting modal keeps showing up.

Fixing this might be tricky because apparently the javascript code does not run when clicking the back button in safari. Maybe we'll need to close the modal just before the redirect actually starts.

To Reproduce

  • Add a product to your cart and checkout using WooPay
  • When you get to the WooPay checkout click the Browser back button
  • The redirect modal will keep showing up in the merchant site

Actual behavior

The redirect modal keeps showing up when customer clicks the back button in safari

Screenshots

Screenshot 2022-11-11 at 4 41 50 PM

Expected behavior

The redirect modal does not show up when customer clicks the back button in safari

Desktop (please complete the following information):

  • OS: [ macOS Ventura 13.0 ]
  • Browser [Safari Version 16.1 (18614.2.9.1.12) ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
1 participant