Skip to content

fix(happy-app): don't intercept Enter on mobile web touch devices#854

Merged
ex3ndr merged 1 commit intoslopus:mainfrom
EricSeastrand:fix/mobile-web-enter-key
Mar 22, 2026
Merged

fix(happy-app): don't intercept Enter on mobile web touch devices#854
ex3ndr merged 1 commit intoslopus:mainfrom
EricSeastrand:fix/mobile-web-enter-key

Conversation

@EricSeastrand
Copy link
Copy Markdown
Contributor

Summary

  • On mobile web, the on-screen keyboard has no Shift key, so Enter-to-send made it impossible to insert newlines in messages
  • Enter now falls through to default textarea behavior on touch devices — users send via the send button instead
  • Desktop web behavior is unchanged (Enter still sends, Shift+Enter for newline)

Test plan

  • On mobile web (phone), pressing Enter in the input should insert a newline
  • On mobile web, tapping the send button should send the message
  • On desktop web, Enter should still send and Shift+Enter should still insert a newline

🤖 Generated with Claude Code
via Happy

On mobile web (phones), the on-screen keyboard has no Shift key, so
Enter-to-send made it impossible to insert newlines. Now Enter falls
through to default textarea behavior on touch devices, and users send
via the send button instead. Desktop web behavior is unchanged.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@ex3ndr ex3ndr merged commit 3100157 into slopus:main Mar 22, 2026
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