Skip to content

fix(nav): close sidebar on mobile breakpoint - #5087

Merged
thatblindgeye merged 1 commit into
patternfly:mainfrom
kmcfaul:nav-sidebar
Jul 27, 2026
Merged

fix(nav): close sidebar on mobile breakpoint#5087
thatblindgeye merged 1 commit into
patternfly:mainfrom
kmcfaul:nav-sidebar

Conversation

@kmcfaul

@kmcfaul kmcfaul commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Closes: #4972

Fixes the broken check / cleans it up by hooking into the PageContext's isMobile rather than re-calcing the breakpoint (which was the broken check as it was trying to evaluate a rem string to an int).

@patternfly-build

Copy link
Copy Markdown
Collaborator

Preview: https://pf-org--pr-5087-site.surge.sh

@thatblindgeye
thatblindgeye merged commit 75b6042 into patternfly:main Jul 27, 2026
5 of 6 checks passed
@patternfly-build

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/ast-helpers@1.4.0-alpha.396
  • @patternfly/documentation-framework@6.49.4

Thanks for your contribution! 🎉

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.

Bug - Sidebar should auto-close on item selection below 1200px viewport width

3 participants