Skip to content

chore: replace the deprecated collapse with scrollEffect - #1911

Merged
thetaPC merged 3 commits into
major-10.0from
FW-7092-scroll-effect
Nov 14, 2026
Merged

thetaPC merged 3 commits into
major-10.0from
FW-7092-scroll-effect

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

The Schedule and Speakers pages use collapse="condense" on their large title headers, which Ionic 10 deprecates and logs a warning for.

What is the new behavior?

  • Both headers use scrollEffect="condense"
  • The large title now condenses in md too, so Android shows "Schedule" and "Speakers" as large titles at the top of those pages, where md used to hide them
  • The Schedule searchbar toolbar in the condense header only renders on iOS. md already opens a searchbar from the search button, so without this it showed two at once
  • Pins the Ionic dev build 9.0.12-dev.11794527713.1ebd1ea1 until Ionic 10 ships, since Ionic 9 has no scrollEffect

Does this introduce a breaking change?

  • Yes
  • No

Other information

Matches the starters (ionic-team/starters#1936) and the v10 docs (ionic-team/ionic-docs#4845).

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ionic-conference-app Ready Ready Preview Nov 13, 2026 11:49pm UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review November 13, 2026 19:38
@thetaPC
thetaPC requested a review from a team as a code owner November 13, 2026 19:38
@thetaPC
thetaPC requested review from ShaneK and removed request for a team November 13, 2026 19:38

@ShaneK ShaneK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Just one comment about search on md, which only shows up once the app is on Ionic 10.


<ion-content fullscreen="true">
<ion-header collapse="condense">
<ion-header scrollEffect="condense">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With scrollEffect this header renders on md too, so Schedule on Android now has two searchbars. The one in the second toolbar here is always visible, and tapping the search icon in the top header opens another one while the first stays on screen, both bound to queryText. On an Ionic 10 dev build, md used to show no searchbar until that tap and one after it, and now it's one before and two after.

Could we wrap that second toolbar in @if (ios) { ... }? That keeps the md large title and gets md back to a single searchbar, and iOS doesn't change. I tried it on the same build and md is back to none before the tap and one after.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 47a7244. React and Vue had the same two searchbars on md, so I fixed them too: 584e4dd and bf0dd8c.

@thetaPC
thetaPC merged commit 3cb0885 into major-10.0 Nov 14, 2026
4 checks passed
@thetaPC
thetaPC deleted the FW-7092-scroll-effect branch November 14, 2026 00:03

This branch was successfully deployed

1 active deployment
Preview — 47a72443 Deployed Nov 13, 2026 by vercel[bot]
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.

3 participants