React Router dom problem of not scrolling to top on route changes
Created by: Binu42
Describe the bug currently when user change from one page to another scrollbar remain at same position. it doesn't going at top.
To Reproduce Steps to reproduce the behavior:
- Go to essential page(https://www.covid19india.org/essentials)
- from dropdown select maharastra and click search.
- Scroll down to bottom
- then go to deep dive / Home(https://www.covid19india.org/deepdive / https://www.covid19india.org)
- See error
Expected behavior it should open page with scroll at top.
Desktop (please complete the following information):
- OS: [all os]
- Browser [sll browser]
- Version [all version]