Skip to content

fix(KvWwwHeaderBasic): tablet position of Major gifts, empty mobile drawer - #901

Merged
mcstover merged 2 commits into
mainfrom
fix-cit-5183-major-gifts-header-fixes
Sep 9, 2026
Merged

mcstover merged 2 commits into
mainfrom
fix-cit-5183-major-gifts-header-fixes

Conversation

@mcstover

@mcstover mcstover commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Two fixes to the major gifts header experiment.

Tablet layout. The md grid-template-areas declared four columns on the top row and three on the search row. A value whose rows differ in length is invalid and dropped whole, with no console warning, so the majorgifts area never existed and the link auto-placed into an implicit row below the search bar. Major gifts now sits alongside the Lend dropdown as intended.

Empty mobile drawer. The drawer panel opens from CSS the instant the hamburger is clicked, but MobileMenu is an async chunk only requested once the group is approached. A page loaded at desktop width never approaches the group — it is display:none — so resizing down and tapping opened a full-screen white panel with no links while the chunk was still in flight. Adds a prewarm prop on HeaderMenuGroup that mounts panel content without an approach, set from isMobile on the drawer group.

https://kiva.atlassian.net/browse/CIT-5183

The tablet grid-template-areas declared four columns on the top row and three
on the search row. A value whose rows differ in length is invalid and dropped
whole, so the majorgifts area never existed and the link auto-placed into an
implicit row below the search bar.
… open

The drawer panel opens from CSS the instant the hamburger is clicked, but its
content is an async chunk only requested once the group is approached. A page
loaded at desktop width never approaches the group — it is display:none — so
resizing down and tapping opened a full-screen empty white panel while the
chunk was still in flight.

Adds a prewarm prop that mounts panel content without an approach, set from
isMobile on the drawer group.
@mcstover
mcstover merged commit 5462e4a into main Sep 9, 2026
5 checks passed
@mcstover
mcstover deleted the fix-cit-5183-major-gifts-header-fixes branch September 9, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants