Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Entatega -Food- Delivery-website :Clicking on Privacy Policy or Terms and Conditions Links Doesn't Navigate to Top of Page

Open Beginner friendly
#1,299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the food delivery website footer and compare the Privacy Policy and Terms and Conditions links with the Home link behavior addressed in issue #212. Reproduce the problem by scrolling down, opening each link, and verify that both documents load at the top with smooth scrolling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.