Skip to content

Deleted Message Blinks but Doesn't Disappear #5

@Melmox

Description

@Melmox

When creating a new chat, sending a message, and then deleting it, the message briefly blinks but does not disappear from the UI. This seems to be caused by the observe closure, where liveCollection initially returns all deleted messages but then returns undeleted message.

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-03-27.at.17.18.58.mp4

To make this issue easier to catch, I set the debouncer delay to zero, so the UI updates instantly with every change.

Steps to Reproduce

  • Open the app and create a new chat.
  • Send a message.
  • Delete the message.
  • Observe that the message blinks.

Expected Behavior
The deleted message should disappear smoothly without blinking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions