Hitting Back navigate to anchor point on previous Hierarchical Viewer

Pantelhs Saoylos asked on October 23, 2019 10:51

Hello , i am working on implementing a hierarchical viewer which displays all pages and sub pages of the page tree, and give the ability to the user to navigate to them by clicking on the corresponding link provided by the hierarchical viewer. The needed functionality states the user to be able by hitting back, after having clicked said link, to be taken back to the hierarchical viewer and at the place where that link is. Is that possible and do you have any suggestion on how to implement it? Thanks in advance

Correct Answer

David te Kloese answered on October 23, 2019 11:20

Perhaps this might be something that can help you:

https://stackoverflow.com/questions/29203312/how-can-i-retain-the-scroll-position-of-a-scrollable-area-when-pressing-back-but

Basically saving the scroll position...

1 votesVote for this answer Unmark Correct answer

Recent Answers


Pantelhs Saoylos answered on October 23, 2019 11:31

The problem is i am using accordions inside the Hierarchical viewer, will scroll position work in that context?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on October 23, 2019 11:34

That depends on what you use for the accordion logic, you probably have to alter the script to comply with that specific library.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.