Skip to content

msglist: When the initial message fetch comes up empty, auto-focus the compose box #1543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chrisbobbe opened this issue Jun 3, 2025 · 0 comments · May be fixed by #1544
Open

msglist: When the initial message fetch comes up empty, auto-focus the compose box #1543

chrisbobbe opened this issue Jun 3, 2025 · 0 comments · May be fixed by #1544
Assignees
Labels
a-compose Compose box, autocomplete, attaching files/images a-msglist The message-list screen, except what's label:a-content

Comments

@chrisbobbe
Copy link
Collaborator

chrisbobbe commented Jun 3, 2025

Part of #127 (see below).

Normally, it would be bothersome if we auto-focused the compose box when opening a message-list page, because the keyboard takes up a lot of space when it appears, and that gets in the way of reading messages. Opening the keyboard isn't a problem when there are no messages, though, and it can actually be quite helpful—especially when opening a new DM narrow with no history.

Implementing this feature would address item 6 in Vlad's feedback about the new-DM UI:

6. Keyboard should be opened once transitioned to compose dialog.

It is ok to close keyboard if user clicked outside and input is empty, but by default keyboard should be opened and input is focused for me to type a message

@chrisbobbe chrisbobbe added this to the M5a: Launch blockers milestone Jun 3, 2025
@chrisbobbe chrisbobbe self-assigned this Jun 3, 2025
@chrisbobbe chrisbobbe added a-msglist The message-list screen, except what's label:a-content a-compose Compose box, autocomplete, attaching files/images labels Jun 3, 2025
chrisbobbe added a commit to chrisbobbe/zulip-flutter that referenced this issue Jun 3, 2025
…e box

This is part of our plan to streamline the new-DM UI: when you start
a new DM conversation with no history, we should auto-focus the
content input in the compose box.

Fixes: zulip#1543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-compose Compose box, autocomplete, attaching files/images a-msglist The message-list screen, except what's label:a-content
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant