RocketChat / RocketChat/Rocket.Chat.ReactNative
bug: Text Input Field Not Visible by Default in New Direct Messages
Nobody has claimed this yet.
- 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
- Go to any thread, chat, or community.
- Click on the icon of a user you have never contacted before.
- Click on the "Message" button on the user's profile.
- Observe that the text input field is missing initially.
- 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.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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