-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
Browser back button from details page to listing page is not taking to the previous page correctly. #273
Comments
Please specify browser and version. |
Able to reproduce on MacBook Pro (Retina, 13-inch) with OS X EI Capitan on Chrome Version 56.0.2924.87 (64-bit). |
It's not a bug, but the closest possible solution we can offer for this functionality. When you press the back button, you are being brought back to page2 (where you left, as you can notice in the url when you scrolled there). So that's correct, although the browser doesn't bring you back to the exact position, sadly. The next page (page 3) is probably loaded, because it came into the viewport. |
Agreed its the closed possible solution considering that the page 2 content section is smaller than the previous viewport so next page got triggered. I would still propose it as bug because the same behavior is not true(at my end at-least) for Safari and Firefox browsers. When I tried the same steps on Safari(v10.0.0.2) it took me to the correct page and exact position(i.e. page 2 and Item 2.2). Whats even interesting is - it has all the Page 1 content pre-loaded even though you are on Page 2 but where as for Chrome it first loads the Page 2 along with load previous items link at the top and then scrolls to the bottom(may be viewport as you mentioned) and then loads the Page 3 items. So little bit confused about History plugin on Safari and Firefox vs Chrome and which behavior is correct? Please advice! |
We try to be as cross-browser compatible as we can, but different browsers use different ways to navigate back. |
Same trouble here... I will wait for a way to fix it. |
I'm closing this issue because Infinite Ajax Scroll 2 reached end of life and is being superseded by v3. Suggestions given in this issue are filled under: #467. If you have questions, feedback or want to contribute, please comment on the new issue. |
Issue: This is reproducible on http://infiniteajaxscroll.com/examples/history.html.
Expected Result: To load the second page i.e. http://infiniteajaxscroll.com/examples/history/page2.html.
Any help is greatly appreciated to fix this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered: