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.
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
Related: #94796
Reported in Slack.