Skip to content

fix: prevent page reload when pressing no-character keys in search input#285

Merged
priyazsh merged 1 commit into
priyazsh:mainfrom
mayurrogheliya:fix/search-keyup-refresh
Nov 13, 2025
Merged

fix: prevent page reload when pressing no-character keys in search input#285
priyazsh merged 1 commit into
priyazsh:mainfrom
mayurrogheliya:fix/search-keyup-refresh

Conversation

@mayurrogheliya

Copy link
Copy Markdown
Contributor

fixes #284

Description

Fixed an issue where pressing keys like Shift, Ctrl, or Space in the search input caused the page to reload when empty.

Fix Details

  • Ignored non-character keys such as Shift, Ctrl, Alt, and Arrow keys.
  • Redirects to / only when the input becomes empty due to Backspace or Delete.

@vercel

vercel Bot commented Nov 13, 2025

Copy link
Copy Markdown

@mayurrogheliya is attempting to deploy a commit to the Priyansh Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the waiting for reviewers Soon a maintainer will review label Nov 13, 2025

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, @mayurrogheliya! Thanks for creating the pull request!

Soon the maintainers/owner will review it and provide you with feedback/suggestions, Make sure to star this awesome repository

@vercel

vercel Bot commented Nov 13, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
devprofiles Ready Ready Preview Nov 13, 2025 4:12pm

@priyazsh priyazsh merged commit f65445f into priyazsh:main Nov 13, 2025
5 checks passed
@priyazsh priyazsh removed the waiting for reviewers Soon a maintainer will review label Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Page refreshes when pressing Backspace, Shift, Space or Ctrl keys while search field is empty

2 participants