Expand my Community achievements bar.

Maintaining Scroll Position on Browser Back Button Click.

Avatar

Level 3

Hi,

We have a requirement where if a user clicks on an asset and then presses the browser back button, the scroll bar should not go to the top but should remain at the asset that was clicked earlier.
This functionality is crucial for maintaining a seamless user experience, as it prevents users from losing their place on the page.

Example
:
Step 1: Suppose a user clicks on the asset.

Screenshot (1149).png

Step 2: The asset is opened, and now if the browser's back button is clicked.

Screenshot (1150).png

 

Step 3: The scroll bar goes to the top.

Screenshot (1151).png


Step 4: However, we want the functionality where the scroll bar remains at the asset that was clicked earlier.

Screenshot (1149) - Copy.png


We would appreciate your assistance in implementing this feature.

Thanks & Regards,
Vishal Jain

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies