gray-mueller / gray-mueller/foodpanda-clone-using-react-native
Entatega -Food- Delivery-website :Clicking on Privacy Policy or Terms and Conditions Links Doesn't Navigate to Top of Page
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Upon clicking the 'Privacy Policy' or 'Terms and Conditions' links on the Enatega food delivery website, the page fails to scroll up to the top, as expected. I have resolved the issue where clicking Home in footer scrolls up the page and want to implement the same here
To Reproduce
Steps to reproduce the behavior:
Visit the Enatega food delivery website.
Scroll down to any section of the page.
Click on the 'Privacy Policy' or 'Terms and Conditions' links.
Expected behavior
After clicking on the 'Privacy Policy' or 'Terms and Conditions' links, the page should smoothly scroll up to the top, positioning users at the beginning of the respective documents.
Screenshots
Issue.in.Fotter-Food.Deliver.Website.-.Trim.mp4
Expected Behavior
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/104057403/f1651a2b-71fd-4bef-9606-2eaf9d830ce4
Desktop (please complete the following information):
OS: [ Windows 11]
Browser: [e.g., Chrome]
Additional context
I have solved issue #212 and want to do the same with this issue
Contributor guide
Research direction
Inspect the footer navigation handlers for the Privacy Policy and Terms and Conditions links, using the fix for issue #212 as the starting reference. Reproduce the behavior by scrolling down and clicking each link, then verify that both destination pages open at the top with smooth scrolling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100