Skip to content

[Feature Request] Animate other view alongside NavigationStack transition #155

@VentanYu

Description

@VentanYu

Perhaps this is a bit beyond the scope of this project, but I still want to ask if there's a way to implement it?

My expectation is to overlay other views (such as a custom toolbar) on a NavigationStack, and the content of the toolbar should switch synchronously with the NavigationStack. The difficulty lies in synchronizing the toolbar's animation with the NavigationStack's transition animation, so that a better experience can be achieved when performing a gesture return.

Perhaps providing a ViewModifier similar to:

.withNavigationTransition { percentComplete in
    ...
}

Anyway, this is an amazing project, thank you very much for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions