Skip to content

fix: remove empty handleKeyDown override blocking Enter-to-send - #37

Open
AryanKpr wants to merge 1 commit into
mainfrom
feature/issue-31-enter-key-fix
Open

AryanKpr wants to merge 1 commit into
mainfrom
feature/issue-31-enter-key-fix

Conversation

@AryanKpr

Copy link
Copy Markdown
Collaborator

📋 PR Overview

research/page.tsx was passing an empty handleKeyDown function that overrode PromptInputTextarea's built-in Enter/Shift+Enter logic. The component already had correct behavior implemented (Enter sends, Shift+Enter creates newline) but it was being silently overridden by this empty function.

Removed the override so the existing correct logic in PromptInputTextarea takes effect.

This issue already had a development branch but no PR so I created one and completed the issue

Type of Change

  • [✅ ] 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🔧 Configuration change (changes to build, CI, or configuration files)
  • 📚 Documentation update (changes to documentation only)
  • 🎨 UI/UX improvement (styling, layout, or user experience changes)
  • ⚡ Performance improvement (code changes that improve performance)
  • 🧹 Code cleanup/refactoring (non-functional changes that improve code quality)

QA Instructions

Related Issues

- research/page.tsx was passing an empty handleKeyDown function
  that overrode PromptInputTextarea's built-in Enter/Shift+Enter logic
- Removed the override so Enter sends message, Shift+Enter creates newline

Closes #31
@vercel

vercel Bot commented Sep 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nexus Ready Ready Preview Sep 19, 2026 8:14pm UTC

Request Review

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.

UX Fix : Pressing "Enter" on chat

1 participant