Describe the bug
When navigating to a new page, the website does not scroll to the top of the page. Instead, it stays at the same scroll position from the previous page.
To Reproduce
Steps to reproduce the behavior:
Go to the website.
Scroll down on any page.
Click on any button to navigate to a new page.
Observe that the new page does not start at the top.
Expected behavior
The page should scroll to the top upon navigation.
Describe the bug When navigating to a new page, the website does not scroll to the top of the page. Instead, it stays at the same scroll position from the previous page.
To Reproduce Steps to reproduce the behavior:
Go to the website.
Scroll down on any page.
Click on any button to navigate to a new page.
Observe that the new page does not start at the top.
Expected behavior The page should scroll to the top upon navigation.
Screen Recording :
https://github.com/MAVRICK-1/Nest-Ondc/assets/88451512/1fc78add-bc15-4fa2-a716-de5329d1e8b0