Skip to content

Feature: Clear Chat Search Using ESC Key (NSOC'26) #86

@SrashtiChauhan

Description

@SrashtiChauhan

NSOC'26

Description

Currently, users can clear the Team Chat search input only by manually deleting the text or clicking the clear button.

This issue focuses on improving keyboard accessibility by allowing users to quickly clear the search field using the Escape (ESC) key.


Expected Behavior

  • Pressing ESC while focused on the search input should:
    • Clear the search query
    • Reset filtered messages
    • Remove highlighted search matches

Suggested Implementation

  • Add keyboard event handling to the search input
  • Detect:
    • Escape key → clear search state
  • Ensure existing search functionality remains unchanged

Tech Stack

  • Next.js
  • React
  • Tailwind CSS

Expected Outcome

Users should be able to quickly reset chat search results using the keyboard for a smoother and more accessible experience.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions