We want to match editing behavior with the native. If the user types an empty message, the edit button will be disabled, and the user will be prevented from saving the changes.
- Entered edit mode of a message.
- Cleared the whole message.
- Checked if the edit button is disabled.
- Typed some spaces.
- Checked if the edit button is still disabled.
- Typed some text.
- Checked if the edit button is enabled.
|66–68 ↗||(On Diff #27042)|
We don't want to let users send empty messages.