TheAlgorithms / TheAlgorithms/website
Bug: The search bar does not work properly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 220
- PR merge metrics
- No merged PRs in 30d
Description
Description of the bug
Description of the bug
When I click the back button search result shows repeated in below.
How to reproduce
Write anything on the search bar and click the back button, You will notice.
Add screenshots of the bug (if applicable)
https://github.com/TheAlgorithms/website/assets/69814563/d2729fd2-89ac-42eb-a1be-e0dd964462f5
Additional information/context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by entering text in the search bar and using the back button, then inspect the search bar and its navigation handling. The work is done when returning with the back button no longer shows repeated search results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100