mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
On phones, opening the primary-nav drawer left the page behind it scrollable, and the secondary drawer's mask had no explicit height so long submenus got clipped above the page content. Lock the page with overflow: clip on :host:has(.adev-nav-primary--open) for phone-only (preserves the primary nav's sticky context), give the secondary mask height: 100dvh on tablet-landscape-down so it fills the visible viewport, and align the nav-list :host height to 100dvh too so its inner scroll matches.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| algolia-icon | ||
| breadcrumb | ||
| cookie-popup | ||
| copy-link-anchor | ||
| copy-source-code-button | ||
| icon | ||
| navigation-list | ||
| search-dialog | ||
| search-history | ||
| select | ||
| slide-toggle | ||
| tab-group | ||
| table-of-contents | ||
| text-field | ||
| top-level-banner | ||
| viewers | ||
| BUILD.bazel | ||
| index.ts | ||