Repository navigation
chore: replace the deprecated collapse with scrollEffect - #1911
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ShaneK
left a comment
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
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.
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?
scrollEffect="condense"9.0.12-dev.11794527713.1ebd1ea1until Ionic 10 ships, since Ionic 9 has noscrollEffectDoes this introduce a breaking change?
Other information
Matches the starters (ionic-team/starters#1936) and the v10 docs (ionic-team/ionic-docs#4845).