[BUG] Mobile Browser enter should input new line instead of submit prompt

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Apr 24, 2026 · closed Apr 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

There's a bug regression with the new "try it out" Claude code in mobile browsers. since a user can't shift-enter on mobile to input a new line, a regular enter on mobile should input a new line instead of auto submitting the prompt.

What Should Happen?

a regular enter on mobile should input a new line instead of auto submitting the prompt

Error Messages/Logs

Steps to Reproduce

  1. Open Claude code in mobile browser
  2. Type a prompt
  3. Attempt to input a new line in the prompt via keyboard enter key
  4. see that the prompt auto submits instead of inputting the new line

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

clause code website

Platform

Other

Operating System

Other

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 5 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/2054

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

bleuf1sh · 5 months ago

This is not a dupe of that because the current Claude code via web browser on mobile works properly and inputs new line upon enter. The new "try out" version of Claude code in browser has a regression here and incorrectly submits the prompt upon enter

omid-ant · 5 months ago

Thanks for the report! Fix has been merged and will be deployed shortly.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.