Skip to content

feat(toolbar): add hideOnScroll for header and footer toolbars#31175

Open
joselrio wants to merge 4 commits into
nextfrom
ROU-12817
Open

feat(toolbar): add hideOnScroll for header and footer toolbars#31175
joselrio wants to merge 4 commits into
nextfrom
ROU-12817

Conversation

@joselrio
Copy link
Copy Markdown
Contributor

Issue number: resolves #


This pull request introduces the new hideOnScroll feature for ion-toolbar, enabling toolbars in header and footer to automatically hide and show based on scroll direction.

Hide on Scroll Feature for Toolbars:

  • Added hideOnScroll property to ion-toolbar, updating the API documentation and exposing it in Angular and Vue proxies, allowing toolbars to hide on scroll in both headers and footers. [1] [2] [3] [4]
  • Implemented logic in ion-header to prioritize hideOnScroll over collapsible large titles, and to skip collapse behavior when hideOnScroll is present. [1] [2]
  • Added tests and demo page for the hide-on-scroll toolbar functionality.

Styling and Layout Enhancements:

  • Introduced new CSS and SCSS for header, footer, toolbar, and content to support smooth hide/show transitions and proper overlay behavior when hideOnScroll is active. [1] [2] [3] [4]

Does this introduce a breaking change?

  • Yes
  • No

@joselrio joselrio requested a review from a team as a code owner May 28, 2026 16:18
@joselrio joselrio added the type: feature request a new feature, enhancement, or improvement label May 28, 2026
@joselrio joselrio added the package: core @ionic/core package label May 28, 2026
@joselrio joselrio requested a review from OS-jacobbell May 28, 2026 16:18
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment May 28, 2026 5:10pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package type: feature request a new feature, enhancement, or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants