Skip to content

Conversation

@erikdstock
Copy link
Contributor

@erikdstock erikdstock commented Dec 23, 2025

The type of this PR is: FEAT

This PR solves EMI-2662

Description

This PR implements auto-scrolling in the checkout. It is mainly concerned with the mobile view:

  • scroll completed step to top as it is completed, exposing saved data + next step
  • scroll active step to top if user is going backwards
  • scroll confirmation step to top if that is the active one (summary and submit button is visible)

In addition it scrolls into view the fulfillment details step if the user begins edits, adds or deletes an address.

Demonstration

2025-12-23 15 00 17

@erikdstock erikdstock self-assigned this Dec 23, 2025
@relativeci
Copy link

relativeci bot commented Dec 24, 2025

#5733 Bundle Size — 9.53MiB (+0.01%).

0e3fcb8(current) vs 9d5b88f main#5729(baseline)

Warning

Bundle contains 34 duplicate packages – View duplicate packages

Bundle metrics  Change 3 changes Regression 1 regression
                 Current
#5733
     Baseline
#5729
Regression  Initial JS 3.7MiB(~+0.01%) 3.7MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 40.73% 37.44%
No change  Chunks 102 102
No change  Assets 105 105
Change  Modules 5945(+0.03%) 5943
No change  Duplicate Modules 588 588
No change  Duplicate Code 4.44% 4.44%
No change  Packages 297 297
No change  Duplicate Packages 33 33
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#5733
     Baseline
#5729
Regression  JS 9.39MiB (+0.01%) 9.38MiB
No change  Other 144.28KiB 144.28KiB

Bundle analysis reportBranch erik.emi2662-autoscroll-checkoutProject dashboard


Generated by RelativeCIDocumentationReport issue

@erikdstock erikdstock enabled auto-merge (squash) December 24, 2025 17:07
- scroll completed step to top as it is completed
- scroll active step to top if user is going backwards
- scroll confirmation step to top if that is the active one
- remove unused delete userAddressMode
- remove unnecessary fragment
- remove unused checkout context scroll helper
@erikdstock erikdstock force-pushed the erik.emi2662-autoscroll-checkout branch from 15f6eed to 0e3fcb8 Compare December 24, 2025 17:10
@erikdstock erikdstock changed the title feat(EMI-2662): Autoscroll as user progresses through checkout feat(EMI-2662): Autoscroll as user progresses through checkout. Dec 24, 2025
@erikdstock erikdstock merged commit 19d4719 into main Dec 24, 2025
14 checks passed
@erikdstock erikdstock deleted the erik.emi2662-autoscroll-checkout branch December 24, 2025 18:08
@artsy-peril artsy-peril bot mentioned this pull request Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants