block / block/buzz

Mobile channel composer: make Enter insert a newline instead of sending

Open
#3,725 1 comment 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
32.7k
Forks
4.3k
Avg merge
1d 13h
Merged PRs (30d)
253

Description

**Motivation**
In the Buzz mobile channel composer, the keyboard Enter/Return action sends the message. This makes multiline messages difficult to write, even though the composer supports up to five lines. The visible send button already provides a clear way to send.

**Proposed solution**
Make Enter/Return insert a newline in the mobile channel composer and keep the visible send button as the send action. Optionally add a preference for users who want Enter-to-send, with newline as the default.

**Alternatives considered**
Keep Enter-to-send and add a separate newline affordance. This is less consistent with multiline mobile text input and adds UI complexity.

**Additional context**
The current channel composer uses `TextInputAction.send` and calls `onSend()` from `onSubmitted` in `mobile/lib/features/channels/compose_bar/layout.dart`. No matching open or closed issue was found.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.