RocketChat / RocketChat/Rocket.Chat.ReactNative

bug: Text Input Field Not Visible by Default in New Direct Messages

Open
#6,211 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Describe the Bug

When starting a direct message with a user for the first time, the chat screen opens, but the text input field is not visible by default. However, clicking on the blank space where the input field should be does bring it up, and it functions normally.

Steps to Reproduce
  1. Go to any thread, chat, or community.
  2. Click on the icon of a user you have never contacted before.
  3. Click on the "Message" button on the user's profile.
  4. Observe that the text input field is missing initially.
  5. Click on the blank space where the input should be, and it appears.

https://github.com/user-attachments/assets/5a8df21f-cde7-4982-841b-919b123d67af

Expected Behavior

The Text Input should be shown normally upon going to an previosuly unvisted direct message.

Like this

Actual Behavior

No response

Rocket.Chat Server Version

7.4.0

Rocket.Chat App Version

4.59

Device Name

S23

OS Version

14

Additional Context

This issue only occurs when messaging a user for the first time. Once a conversation has been initiated (even if no messages are exchanged), the text input field appears as expected in subsequent interactions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on the first direct-message flow described in the steps, then trace the React Native screen shown after tapping Message. Compare the initial state with a previously initiated conversation; done means the text input is visible immediately when opening a new direct message.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.