Closed (won't fix)
Project:
Views Infinite Scroll
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 May 2013 at 16:01 UTC
Updated:
13 Apr 2020 at 07:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jrbAttached is a patch that adds support for browser history to the current 7.x-2.x branch.
Comment #2
toberr commentedvery good patch but there is a little bag
When i use back button in browser the infiniti scroll doesn't work and i see jast standart drupal pager
Comment #3
jrbPatch in #1 re-rolled for latest dev.
Comment #4
sittard commentedAny chance we could have this feature on the Drupal 8 version as well. Thanks.
Comment #5
weri commentedFor Drupal 8 have a look at #2667516: Investigate maintaining a state so the back-button works.
Comment #6
izmeez commentedThe patch in #3 applies to the current 2.x-dev but I don't think it is fixing the problem, at least not in Firefox, haven't done more extensive testing.
I am not sure I fully understand the issue, but my understanding of this issue follows.
Problem description and how to reproduce:
From view with infinite scroll, click more and select a node from new scrolled list, then click browser back button to return to view. You do not return to the portion of the view that listed that node, instead you return to the first page of the view.
While the patch in #3 does apply it does not fix this problem. The problem is unchanged.
I am changing status of this issue to needs work. Thanks.
Comment #7
izmeez commentedComment #8
sgdev commentedYou might want to review the Views Ajax History module. I think it does what you are looking to accomplish.
The browser URL is automatically updated as you scroll, and can use the browser back button to go to the previous "page" (essentially an anchor point higher up on the page).
https://www.drupal.org/project/views_ajax_history
Comment #9
neslee canil pinto