fix(accounts): restore account selector transition#29859
Conversation
8984338 to
a5491cb
Compare
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #29859 +/- ##
==========================================
+ Coverage 81.44% 81.50% +0.05%
==========================================
Files 5318 5320 +2
Lines 140909 140979 +70
Branches 32109 32127 +18
==========================================
+ Hits 114767 114902 +135
+ Misses 18263 18222 -41
+ Partials 7879 7855 -24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@metamaskbot update-mobile-fixture |
|
I have read the CLA Document and I hereby sign the CLA |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The AccountSelector is a widely-used component accessed from wallet home, dApp connections, account actions, confirmations, and many other flows. The animation change could affect E2E test stability (timing issues) and visual behavior across all flows that open the account selector. Selected tags cover:
Not selected: SmokeSnaps, SmokeBrowser, SmokeSwap, SmokeStake, SmokeMoney, SmokePerps, SmokeMultiChainAPI, SmokePredictions, SmokeSeedlessOnboarding - these are less directly impacted by the AccountSelector animation change, though some use it indirectly. The core account and navigation flows are covered by the selected tags. Performance Test Selection: |
|



Description
Restores a standard horizontal route transition for the full-page Account List. The Account Selector lives inside
ROOT_MODAL_FLOW, which inheritsanimationEnabled: false, so opening Account List directly was mounting too quickly after the design-system migration removed the component-level Reanimated spring.This keeps animation ownership in navigation config by adding a scoped transition option for Account Selector only. The same option is applied to the child
ACCOUNT_SELECTORroute and to the parentROOT_MODAL_FLOWroute only when it is opened directly to Account Selector.Changelog
CHANGELOG entry: Fixed the Account List opening too quickly.
Related issues
No issue: quick follow-up to the Account List transition regression investigation.
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI/navigation change that only adjusts stack transition options for the Account Selector; main risk is unintended animation behavior when opening
ROOT_MODAL_FLOWdirectly into that screen.Overview
Restores a standard horizontal stack transition when opening the Account Selector, by centralizing its navigation
optionsinto a sharedaccountSelectorTransitionOptions.Also applies the same transition to
Routes.MODAL.ROOT_MODAL_FLOWonly when it is launched directly toRoutes.SHEET.ACCOUNT_SELECTOR, preventing the root modal flow’s default disabled animations from affecting that entry path.Reviewed by Cursor Bugbot for commit 9c7fd93. Bugbot is set up for automated code reviews on this repo. Configure here.