MAVRICK-1 / Nest-Ondc

https://nest-ondc-arzx.vercel.app/
MIT License
25 stars 49 forks source link

Website Does Not Scroll to Top on Page switch during navigation. #98

Open kushagra-singhh opened 2 months ago

kushagra-singhh commented 2 months ago

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:

  1. Go to the website.

  2. Scroll down on any page.

  3. Click on any button to navigate to a new page.

  4. 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

kushagra-singhh commented 2 months ago

Please assign me this issue under SSOC

MAVRICK-1 commented 2 months ago

@kushagra-singhh great go ahead