mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-18 00:44:29 -05:00
[PR #1797] [MERGED] fix(staffml): make mobile ecosystem nav menu scroll internally #34594
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1797
Author: @farhan523
Created: 5/23/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/staffml-mobile-nav-menu-scroll📝 Commits (1)
2a87d45fix(staffml): make mobile ecosystem nav menu scroll internally📊 Changes
1 file changed (+23 additions, -1 deletions)
View changed files
📝
interviews/staffml/src/components/EcosystemBar.tsx(+23 -1)📄 Description
Summary
EcosystemBarlived inside aposition: stickyparent withoverflow-y: visible. Once the menu was taller than the viewport, the overflow items sat below the fold and a swipe scrolled the page instead of the menu — items only became reachable once the sticky bar released at the body bottom.calc(100dvh - 60px)withoverflow-y: autoandoverscroll-behavior: containso the menu owns its own scroll and stops chaining swipes to the page.dvh(notvh) so the bottom of the menu doesn't get clipped on iOS Safari when the URL bar collapses.Scoped to
interviews/staffml/src/components/EcosystemBar.tsx. No behavior change for desktop (nav-lg:hiddengate is unchanged).Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.