Skip to content

Scroll forward immediately upon approving a report in the workspace chat #96427

Description

@melvin-bot

Description

When a user approves a report from the workspace chat, the forward-scroll to the next actionable item currently waits until after the approve/submit/pay button animation completes. This introduces a noticeable lag that undercuts the feature. The scroll should instead trigger immediately upon click.

Context

This is a follow-up to #94796 (the auto-scroll action pill). Once that shipped and got real usage, the delay before the scroll became a "buzzkill."

Expected Behavior

  • Clicking Approve (and similarly Submit/Pay) triggers the forward-scroll to the next actionable item immediately on click, rather than waiting for the button animation to finish.
  • Verify the immediate-scroll approach does not reintroduce the previously observed weird behavior.

Related: #94796

Reported in Slack.

Metadata

Metadata

Assignees

Labels

ImprovementItem broken or needs improvement.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions