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

Aperta
#7,868 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, react-native, typescript
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
2.4k
Fork
1.5k
Merge medio
1g 15h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Rocket.Chat.ReactNative

Tutte le issue di RocketChat/Rocket.Chat.ReactNative

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.