Skip to content

When using navigationBar.prefersLargeTitles=true, scrolling doesn't always shrink the title #169

Description

@ibrahima

Hi! I was trying to make our app feel more "native", and I found that one thing that many built-in apps do is this to set navigationBar.prefersLargeTitles=true, which results in a nice big title when at the top of the content, which then shrinks into the top navbar area when you scroll down. However, I found that when I enable this on Hotwire Native iOS, the shrinking part is not consistent. It will sometimes shrink, sometimes it won't, and sometimes it starts working after navigation, and sometimes that doesn't help either. Is this perhaps a bug in Hotwire Native iOS? Is there any way to make this more reliable? Is anyone else using this option successfully? Thanks!

Here's the code I changed to enable large titles.

main...ibrahima:hotwire-native-ios:test-large-titles

Here's an example of the reminders app (from the simulator)

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-09-04.at.14.55.59.mp4

Here's the demo app with prefersLargeTitles=true. You'll see that on some screens, scrolling down shrinks the title, but other times, it doesn't.

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-09-04.at.15.07.22.mp4

Actually, I realize that even the native screen in the demo app uses this setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions