Skip to content

[Due for payment 2026-07-06] [$250] Bug: Approve button flickers (disappears, reappears, disappears) when approving a report from workspace chat report preview #93067

Description

@melvin-bot

Description

When approving a report from the workspace chat report preview, the approve button flickers — it disappears, reappears, then disappears again instead of cleanly transitioning away after the action.

Steps to reproduce

  1. Open a workspace chat report preview for a report that is pending approval.
  2. Tap/click the Approve button.
  3. Observe the button: it disappears, briefly reappears, then disappears again.

Expected behavior

The approve button should disappear cleanly (once) after tapping, as the report transitions to an approved state.

Actual behavior

The approve button disappears, reappears momentarily, then disappears again — a visible flicker.

Notes from investigation

  • Reproduced on a normal workspace; could not reproduce on the DEW policy.
  • Not consistently reproducible across all reports in a workspace.
  • Suspected cause: the Onyx update for the report status may be racing with the animation/UI timeout — the optimistic update may not always fire fast enough (or is being overwritten/re-evaluated) before the button re-renders.

Platform

  • Android
  • iOS
  • Web
  • Desktop
Issue OwnerCurrent Issue Owner: @mallenexpensify
Upwork Automation - Do Not Edit

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions