Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide banner on scroll #6441

Merged
merged 4 commits into from
Feb 20, 2025
Merged

Hide banner on scroll #6441

merged 4 commits into from
Feb 20, 2025

Conversation

parlough
Copy link
Member

Hide banner when scrolling down the page by restructuring the style of pages to make the entire body scrollable, rather than just the page content. Then make other changes to account for that restructuring, such as increasing the scroll margins of headers.

Resolves #6406

This can be tested by navigating to different portions of the page, verifying the banner disappears, then reappears when scrolling back to the top of the page. The changes to the sidenav can be verified they didn't regress behavior by opening and scrolling the sidenav in both wide and narrow layouts.

@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Feb 20, 2025

Visit the preview URL for this PR (updated for commit d4b1e77):

https://dart-dev--pr6441-feat-hidable-banner-crf0c7ca.web.app

@parlough parlough merged commit 4800e90 into main Feb 20, 2025
10 checks passed
@parlough parlough deleted the feat/hidable-banner branch February 20, 2025 20:16
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.

Hide announcement banner on scroll
3 participants