Skip to content

Change when NavDrawer is open by default#767

Merged
SjurSutterudSagen merged 1 commit intomainfrom
feature/PxWeb2-715-change-nav-drawer-open-by-default-breakpoints
Aug 15, 2025
Merged

Change when NavDrawer is open by default#767
SjurSutterudSagen merged 1 commit intomainfrom
feature/PxWeb2-715-change-nav-drawer-open-by-default-breakpoints

Conversation

@SjurSutterudSagen
Copy link
Contributor

This changes when the NavDrawer is opened by default on initial table page load. Since we found issues with focus being hidden behind it, it was decided that a better solution for keyboard users is to not start in a state where focus can be hidden. Now only shows it by default on larger than the large breakpoint.

Considered adding a simpler check in TableViewer, but decided to expand the solution for checking window width in the AppProvider. To be consistent with previous solutions.

This changes when the NavDrawer is opened by default on initial table
page load. Since we found issues with focus being hidden behind it, it
was decided that a better solution for keyboard users is to not start in
a state where focus can be hidden. Now only shows it by default on
larger than the large breakpoint.

Considered adding a simpler check in TableViewer, but decided to expand
the solution for checking window width in the AppProvider. To be
consistent with previous solutions.
@github-actions
Copy link

github-actions bot commented Jul 7, 2025

Branch Deployment to Cloudflare Pages

🚛 Preview URL: https://2588c5d0.pxweb2.pages.dev
🚧 Branch preview URL: https://feature-pxweb2-715-change-na.pxweb2.pages.dev

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 7, 2025

@SjurSutterudSagen SjurSutterudSagen merged commit eb871aa into main Aug 15, 2025
12 checks passed
@SjurSutterudSagen SjurSutterudSagen deleted the feature/PxWeb2-715-change-nav-drawer-open-by-default-breakpoints branch August 15, 2025 08:42
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