signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.59k stars 2.95k forks source link

Empty composer input still shows the send button if all the text is "cut" #5804

Open hackerbirds opened 1 month ago

hackerbirds commented 1 month ago

Bug description

It is possible to set the composer state in a way where there are no messages being written, but the "send" button appears, and and sticker/camera/microphone buttons disappear.

Steps to reproduce

Actual result: The composer shows the "send" button despite having no text being written, and the sticker/camera/microphone buttons disappear. empty composer

Expected result: After cutting text, the composer input should check if the input is empty and if that's the case then reset to the "no text" state, where the camera/microphone/sticker button are there, but not the send button. normal composer

Screenshots

Device info

Signal version: 7.9