Skip to content

Conversation

@amitdhiman5086
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Dec 16, 2025

@amitdhiman5086 is attempting to deploy a commit to the Chai Builder Team on Vercel.

A member of the Team first needs to authorize it.

@surajair
Copy link
Collaborator

surajair
surajair previously approved these changes Dec 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modifies the keyboard interaction behavior for the manual classes input field. The changes allow the Enter key to add classes regardless of whether autocomplete suggestions are displayed, remove the automatic highlighting of the first suggestion, and introduce Tab key functionality to manually highlight suggestions.

Key changes:

  • Modified Enter key handler to always add classes when input is non-empty, removing the previous restriction that prevented this when suggestions were visible
  • Added Tab key handler that simulates an ArrowDown keypress to highlight suggestions
  • Removed the highlightFirstSuggestion prop from the Autosuggest component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@surajair surajair merged commit 49164b8 into chaibuilder:main Dec 16, 2025
7 of 8 checks passed
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.

2 participants