Problem
When submitting a shared receipt through the Share Extension flow, the Inbox is briefly visible behind the share modal before the destination chat appears on top — a visible flash during modal dismiss. This adds to the sluggish, "broken" feel of the Share Extension.
Expected behavior
Dismissing the share modal after submitting a shared receipt should transition directly to the destination chat, with no flash of the Inbox in between.
Proposed change
SubmitDetailsPage pre-mounts the destination report behind the modal (when it already exists in Onyx) so the correct chat is ready when the modal closes. The expense is created immediately on submit (rather than after the reveal animation), and cleanup skips a second navigation (shouldNavigate: false) since the reveal already handles it.
Platform
- iOS (Native Share Extension)
Context
Tracked work for the parent performance issue #95335 (iOS Native Share Extension is slow and feels broken). Addressed by #97242.
Issue Owner
Current Issue Owner: @jmgraa
Problem
When submitting a shared receipt through the Share Extension flow, the Inbox is briefly visible behind the share modal before the destination chat appears on top — a visible flash during modal dismiss. This adds to the sluggish, "broken" feel of the Share Extension.
Expected behavior
Dismissing the share modal after submitting a shared receipt should transition directly to the destination chat, with no flash of the Inbox in between.
Proposed change
SubmitDetailsPagepre-mounts the destination report behind the modal (when it already exists in Onyx) so the correct chat is ready when the modal closes. The expense is created immediately on submit (rather than after the reveal animation), and cleanup skips a second navigation (shouldNavigate: false) since the reveal already handles it.Platform
Context
Tracked work for the parent performance issue #95335 (iOS Native Share Extension is slow and feels broken). Addressed by #97242.
Issue Owner
Current Issue Owner: @jmgraa