My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to a create a similar mechanism like in hashnode or twitter to get back to same feed offset?

Aniketh Saha's photo
Aniketh Saha
·Feb 13, 2019

I was pretty impressed with this feature like when scrolling in the feeds page and then clicking in some post then redirecting it to that post and then if we click the browser's back button it automatically brings the browser's viewport to the continuation from where we left in the feeds page. like if there are 20 posts then i clicked on 8th post and then after returning to the feeds page again the page offset is in the position of the 8th post only...So if we want to go up then scroll up else normal scrolling down .

It's really a very user friendly interaction.

Thanks