Skip to content

feat: cp-13.20.0 added vertical scroll to drawer#40301

Merged
NidhiKJha merged 5 commits intomainfrom
add-scroll-to-hamburger
Feb 23, 2026
Merged

feat: cp-13.20.0 added vertical scroll to drawer#40301
NidhiKJha merged 5 commits intomainfrom
add-scroll-to-hamburger

Conversation

@NidhiKJha
Copy link
Member

@NidhiKJha NidhiKJha commented Feb 20, 2026

This PR is to add vertical scroll to drawer

Changelog

CHANGELOG entry: adds vertical scroll to drawer

Related issues

Fixes:

Manual testing steps

  1. Go to small window size for full screen
  2. check drawer is scrollable

Screenshots/Recordings

Before

After

Screen.Recording.2026-02-20.at.6.03.35.PM.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Low Risk
UI-only styling/layout changes localized to the global menu drawer; main risk is regressions in drawer sizing/positioning across fullscreen vs sidepanel views.

Overview
Improves GlobalMenuDrawer fullscreen positioning by consistently applying a 90px top offset (for the logo) to both the backdrop and the drawer panel, and by explicitly pinning the panel with top/bottom instead of relying on h-full/inset classes.

Updates the drawer’s internal flex layout (min-h-0, flex-shrink-0, and overflow-y-auto + padding) so long content can scroll vertically and the header/close button stays fixed without causing overflow glitches.

Written by Cursor Bugbot for commit b58db8a. This will update automatically on new commits. Configure here.

@NidhiKJha NidhiKJha requested a review from a team as a code owner February 20, 2026 17:33
@metamaskbot metamaskbot added team-core-extension-ux Core Extension UX team INVALID-PR-TEMPLATE PR's body doesn't match template labels Feb 20, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 20, 2026

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/core-extension-ux (1 files, +13 -12)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 global-menu-drawer/
          • 📄 global-menu-drawer.tsx +13 -12

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@github-actions github-actions bot added size-S and removed size-XS labels Feb 20, 2026
@NidhiKJha NidhiKJha changed the title feat: cp-13.13.0 added vertical scroll to drawer feat: cp-13.20.0 added vertical scroll to drawer Feb 20, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 20, 2026

Builds ready [9b03601]
⚡ Performance Benchmarks (1383 ± 114 ms)
👆 Interaction Benchmarks
ActionMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2655264272
total2655264272
Confirm Txconfirm_tx60521060606063
total60521060606063
Bridge User Actionsbridge_load_page2011200203
bridge_load_asset_picker1942194196
bridge_search_token6973697700
total1089710911098
🔌 Startup Benchmarks
BuildMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
Chrome Browserify Startup Standard HomeuiStartup13831169178111414281582
load1181968150910912251362
domContentLoaded1173964149710712191352
domInteractive2716106192379
firstPaint166661202156209376
backgroundConnect20118826711205222
firstReactRender18134342024
initialActions108124
loadScripts987783130710710331173
setupStore1363851620
numNetworkReqs312290202287
Chrome Browserify Startup Power User HomeuiStartup16551338216913217291870
load1093991154112310821472
domContentLoaded1078983153311910631387
domInteractive3217188243081
firstPaint1667236378229307
backgroundConnect27024634817278299
firstReactRender23144772640
initialActions108113
loadScripts88479213441178651191
setupStore1685781727
numNetworkReqs57221392256107
Chrome Webpack Startup Standard HomeuiStartup87470012611029151073
load743619107491798890
domContentLoaded737615106290791883
domInteractive3116148232586
firstPaint1226342971146234
backgroundConnect291983103447
firstReactRender19123662132
initialActions105112
loadScripts734613105289789875
setupStore1355071422
numNetworkReqs312298212588
Chrome Webpack Startup Power User HomeuiStartup1247884211918413341618
load72364212861197161038
domContentLoaded71463312721187031033
domInteractive37181813135117
firstPaint1356849185149288
backgroundConnect16913041852163261
firstReactRender24183442532
initialActions102011
loadScripts71163112531167011022
setupStore1344161421
numNetworkReqs1013724449137198
Firefox Browserify Startup Standard HomeuiStartup16481382271023416432086
load13981183243321314091750
domContentLoaded13971183243321314091749
domInteractive833354468102161
firstPaint------
backgroundConnect5527215245776
firstReactRender13111811415
initialActions102012
loadScripts13721163240621013851709
setupStore188209261543
numNetworkReqs311995182575
Firefox Browserify Startup Power User HomeuiStartup27492085384033028683595
load15681331238020816171958
domContentLoaded15671331238020816171958
domInteractive1103546091114395
firstPaint------
backgroundConnect260112915202249871
firstReactRender201572101924
initialActions103122
loadScripts15291306232019515811865
setupStore1169818174119465
numNetworkReqs60311463487135
Firefox Webpack Startup Standard HomeuiStartup17601480353230917812088
load14971231318028814961749
domContentLoaded14971231317928814951749
domInteractive121291713168131213
firstPaint------
backgroundConnect63272093270127
firstReactRender15132731621
initialActions103122
loadScripts14711212314428614751710
setupStore248151272077
numNetworkReqs311991172777
Firefox Webpack Startup Power User HomeuiStartup26971909377143628653630
load15621203240126716932144
domContentLoaded15621202240026716932144
domInteractive12331772144108522
firstPaint------
backgroundConnect276521262230278884
firstReactRender21166882330
initialActions103122
loadScripts15251187233024616472005
setupStore1877789219330702
numNetworkReqs58291553671134
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2171217218
srpButtonToSrpForm9119292
confirmSrpToPwForm2102122
pwFormToMetricsScreen1501515
metricsToWalletReadyScreen1601616
doneButtonToHomeScreen68481707795
openAccountMenuToAccountListLoaded727239076257850
total842140887818876
Onboarding New WalletcreateWalletToSocialScreen2190220220
srpButtonToPwForm1061106107
createPwToRecoveryScreen9099
skipBackupToMetricsScreen3613636
agreeButtonToOnboardingSuccess1601616
doneButtonToAssetList651180595951
total10401839801345
Asset DetailsassetClickToPriceChart3723640
total3723640
Solana Asset DetailsassetClickToPriceChart4514647
total4514647
Import Srp HomeloginToHomeScreen194818120012270
openAccountMenuAfterLogin3934143
homeAfterImportWithNewWallet242415225372665
total441014645204616
Send TransactionsopenSendPageFromHome1911921
selectTokenToSendFormLoaded3284040
reviewTransactionToConfirmationPage8501852852
total9092911911
SwapopenSwapPageFromHome12017132147
fetchAndDisplaySwapQuotes469810847904830
total481912349374962
🌐 Dapp Page Load Benchmarks

Current Commit: 9b03601 | Date: 2/20/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.01s (±40ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 705ms (±37ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±11ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.01s 40ms 976ms 1.30s 1.04s 1.30s
domContentLoaded 705ms 37ms 671ms 978ms 723ms 978ms
firstPaint 74ms 11ms 60ms 172ms 80ms 172ms
firstContentfulPaint 74ms 11ms 60ms 172ms 80ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 23 Bytes (0%)
  • common: 20 Bytes (0%)

@NidhiKJha NidhiKJha enabled auto-merge February 20, 2026 19:54
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 23, 2026

Builds ready [b58db8a]
⚡ Performance Benchmarks (1306 ± 105 ms)
👆 Interaction Benchmarks
ActionMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account30442332371
total30442332371
Confirm Txconfirm_tx60802761026108
total60802761026108
Bridge User Actionsbridge_load_page27425301301
bridge_load_asset_picker16821186191
bridge_search_token72411734736
total11783211941228
🔌 Startup Benchmarks
BuildMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
Chrome Browserify Startup Standard HomeuiStartup13061094155610513741499
load111091613329611771278
domContentLoaded110291213279511741273
domInteractive261598202282
firstPaint196581115170216329
backgroundConnect19117823110195217
firstReactRender16122731821
initialActions105113
loadScripts92773711459510021094
setupStore1172841419
numNetworkReqs312297212289
Chrome Browserify Startup Power User HomeuiStartup17661374598647417822010
load11421014166714111421465
domContentLoaded11271005165413511161457
domInteractive3419200253382
firstPaint1757152187240301
backgroundConnect3382564124395299367
firstReactRender23155462534
initialActions104111
loadScripts92480314431339181252
setupStore1655591929
numNetworkReqs62381542665134
Chrome Webpack Startup Standard HomeuiStartup82964612701158861042
load698578103597743864
domContentLoaded692575102996737860
domInteractive2615115212176
firstPaint1275672388154265
backgroundConnect261761102949
firstReactRender17124361930
initialActions104112
loadScripts689573102295733858
setupStore1264061223
numNetworkReqs312296212590
Chrome Webpack Startup Power User HomeuiStartup1205859206317612751510
load71162112701147001013
domContentLoaded70261612471136901000
domInteractive37181753434120
firstPaint1326649883149311
backgroundConnect17912766673176312
firstReactRender22163332427
initialActions102111
loadScripts6996141229110688984
setupStore1354971329
numNetworkReqs1093926352138231
Firefox Browserify Startup Standard HomeuiStartup17331455284924417412189
load14671240259322214891796
domContentLoaded14651240259322214891795
domInteractive973496813291234
firstPaint------
backgroundConnect61282432863102
firstReactRender14121811417
initialActions103122
loadScripts14371215256621514611743
setupStore218160261849
numNetworkReqs311995202787
Firefox Browserify Startup Power User HomeuiStartup26971888399338928173501
load15241220232921915921957
domContentLoaded15231220232921915891957
domInteractive11433540101116375
firstPaint------
backgroundConnect283109956232295875
firstReactRender18136481823
initialActions103122
loadScripts14851197230520815511887
setupStore14691203227117694
numNetworkReqs60271422981116
Firefox Webpack Startup Standard HomeuiStartup17281419391532517482015
load14501194366527714611656
domContentLoaded14501193366527814611655
domInteractive111291495147131183
firstPaint------
backgroundConnect7225139113760154
firstReactRender15122731623
initialActions103112
loadScripts14221171363827514341590
setupStore205203261550
numNetworkReqs311995182780
Firefox Webpack Startup Power User HomeuiStartup27971941910798328253606
load16301324727765016892269
domContentLoaded16301317727765116882268
domInteractive1033069510296236
firstPaint------
backgroundConnect2801085416534241556
firstReactRender22168782230
initialActions204122
loadScripts15381293325930316432107
setupStore1949775229307702
numNetworkReqs60271613576132
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2181219219
srpButtonToSrpForm9209192
confirmSrpToPwForm2102222
pwFormToMetricsScreen1501515
metricsToWalletReadyScreen1501616
doneButtonToHomeScreen65558661733
openAccountMenuToAccountListLoaded694410770187079
total822240485248839
Onboarding New WalletcreateWalletToSocialScreen2180219219
srpButtonToPwForm1041105106
createPwToRecoveryScreen8088
skipBackupToMetricsScreen3513536
agreeButtonToOnboardingSuccess1601616
doneButtonToAssetList53049567589
total91644944972
Asset DetailsassetClickToPriceChart54196286
total54196286
Solana Asset DetailsassetClickToPriceChart5916060
total5916060
Import Srp HomeloginToHomeScreen208820621882441
openAccountMenuAfterLogin4324446
homeAfterImportWithNewWallet24977425862586
total462927248175071
Send TransactionsopenSendPageFromHome1912021
selectTokenToSendFormLoaded2112122
reviewTransactionToConfirmationPage86814867891
total91214922930
SwapopenSwapPageFromHome1301131131
fetchAndDisplaySwapQuotes45922145954625
total47263347114783
🌐 Dapp Page Load Benchmarks

Current Commit: b58db8a | Date: 2/23/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±37ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±35ms) 🟢 | historical mean value: 725ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±12ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 37ms 1.01s 1.31s 1.05s 1.31s
domContentLoaded 722ms 35ms 699ms 977ms 738ms 977ms
firstPaint 76ms 12ms 60ms 180ms 84ms 180ms
firstContentfulPaint 76ms 12ms 60ms 180ms 84ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 23 Bytes (0%)
  • common: 20 Bytes (0%)

@NidhiKJha NidhiKJha added this pull request to the merge queue Feb 23, 2026
Merged via the queue into main with commit cb1f3f9 Feb 23, 2026
177 checks passed
@NidhiKJha NidhiKJha deleted the add-scroll-to-hamburger branch February 23, 2026 12:36
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
@metamaskbot metamaskbot added the release-13.21.0 Issue or pull request that will be included in release 13.21.0 label Feb 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

INVALID-PR-TEMPLATE PR's body doesn't match template release-13.21.0 Issue or pull request that will be included in release 13.21.0 size-S team-core-extension-ux Core Extension UX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants