Skip to content

Browser Back Button functionality broken after login #37

@vpopa22

Description

@vpopa22

Please describe the issue in as many details as possible.

cc @t1gor

Versions:

  • npm -v: 5.8.0
  • node -v: 8.11.4
  • vxpay-js: 2.6.2
  • you can find the last one by running npm list vxpay-js --depth=0

Problem

After login is performed i would like to navigate via the browser back button to the previous page and failed to do so.

Details....

It appears that there is an event listener on beforeUnload that does not get unset after login is performed. This completely breaks the expected browser behavior

Possible solutions

Find the listeners and remove them after login is done.

Vlad@vxpages team

Thx !

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed-more-infoNeed more info to investigate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions