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

Abierto
#7,868 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ios, react-native, typescript
Área
mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
2.4k
Forks
1.5k
Merge medio
1 d 15 h
PR fusionados (30 d)
29

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de RocketChat/Rocket.Chat.ReactNative

Todos los issues de RocketChat/Rocket.Chat.ReactNative

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.