[iOS] Voice message (mic) button disappears after prolonged use; force-quit restores it

オープン
#7,868 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, react-native, typescript
領域
mobile

調査の方向性

The payload names no files or tests, so begin by finding the message composer component that switches between the microphone and send buttons based on whether the input is empty. Reproduce the bug on an iOS build, since it appears only after prolonged use. Done means the microphone button stays visible with an empty input after room switches, typing and deleting, and backgrounding, and that a test or a verified repro covers the state transition.

索引モデルが issue の本文から書いたものです。

説明

type: bug

On iOS, the voice message (microphone) button in the message composer intermittently disappears after using the app for a while. Force-quitting and reopening the app restores the button temporarily, but the issue reoccurs during normal use

This appears to be a client-side composer state issue (empty input should show the mic button; typed text should show the send button). The UI state stops updating correctly after continued use (switching rooms, typing/deleting text, backgrounding the app, etc.).

Steps to reproduce

  1. Open the Rocket.Chat iOS app and enter any room/DM.
  2. Confirm the microphone button is visible when the input field is empty.
  3. Use the app normally for a period of time (send messages, switch rooms, open/close keyboard, background/foreground the app).
  4. Return to a room with an empty input field.

Expected behavior
When the message input is empty, the microphone (voice message) button should remain visible on the right side of the composer.

Actual behavior
The microphone button is missing. Only actions such as +, emoji, formatting (T), and @ remain. No mic or send button is shown despite the input being empty.

Force-quitting the app and reopening it restores the microphone button until the issue happens again.

Workaround

  • Force-quit the app and reopen it (most reliable).
  • Sometimes typing a character and deleting it refreshes the composer and brings the button back.

Environment

  • Rocket.Chat mobile app: 4.78.0 (110142)
  • OS: iOS 27.2
  • Device: iPhone 18 pro max
  • Server version: 8.8.1
  • Installation: Self-hosted

Additional context

  • Server setting Message → Audio Message → Audio Recorder Enabled is on.
  • Microphone permission for Rocket.Chat is allowed in iOS Settings.
  • Issue is intermittent and becomes more likely after prolonged use; not limited to a single room.
  • Happens on the latest App Store build (4.78.0); not fixed by recent updates.
    image
主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。