Skip to content

chore: replace the deprecated collapse with scrollEffect - #201

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-react-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 brandyscarney 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 left one comment about search on the md Schedule page.


<IonContent fullscreen={true}>
<IonHeader collapse="condense">
<IonHeader 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 the condense header shows up on md now too, so the md Schedule page ends up with two search inputs, the always-visible searchbar under the large title and a second one behind the toolbar search icon. They each keep their own text but write the same filter, so if you type "ionic" in the content bar, open the toolbar search, type "angular" and tap Cancel, the content bar still says "ionic" while the list is filtered by "angular" and shows 0 sessions. Screen readers also get two inputs that are both named "search text".

Could we keep that second toolbar iOS-only? This leaves md with just the toolbar search, and the large title still condenses on scroll in both modes:

          {ios && (
            <IonToolbar>
              <IonSearchbar
                placeholder="Search"
                onIonInput={(e: CustomEvent) => setSearchText(e.detail.value)}
              ></IonSearchbar>
            </IonToolbar>
          )}

You won't see this on the current v10 build yet, because the header's large-title check looks for a size attribute and React sets size as a property, so the condense header stays hidden in React for now. That's a framework bug though, so nothing for this PR to fix there.

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 584e4dd.

@thetaPC
thetaPC merged commit 57b9d29 into major-10.0 Nov 14, 2026
2 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 — 584e4dda 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