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

page.len does not decrease after click browser's back button #578

Open
bumprat opened this issue Oct 19, 2020 · 0 comments
Open

page.len does not decrease after click browser's back button #578

bumprat opened this issue Oct 19, 2020 · 0 comments

Comments

@bumprat
Copy link

bumprat commented Oct 19, 2020

In Page.prototype.back, this.len-- is used to make len property decrease when manually call page.back(). However, in Page.prototype._onpopstate, which is attached to window's popstate event, property len is not changed.

Is this the desired behavior or am I missing something here?

@bumprat bumprat changed the title page.len does not decrease after click browser back button page.len does not decrease after click browser's back button Oct 19, 2020
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

No branches or pull requests

1 participant