You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
this seems to be happening due to VXPay frame participating in the navigation (e.g. if you open login screen and decide to change for registration or lost password)
this behavior is not consistent - some times it allows back navigation by the back btn, some times the iframe only sends postMessage {"type":"modalbox-hook","data":{"hook":"login"}
@maddockman could you please let us know if this is a desired behavior?
There's a functionality in the VXPay frame, that prevents going back in some case. It should prevent to navigate back to the login or signup view, if the user is already logged in. So, it's a desired behaviour but it may be buggy, as mentioned in the cases.
cc @t1gor
Versions:
npm -v
: 5.8.0node -v
: 8.11.4vxpay-js
: 2.6.2npm 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 !
The text was updated successfully, but these errors were encountered: