Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally allow disabling of animation #20

Open
nootn opened this issue Sep 29, 2021 · 0 comments
Open

Optionally allow disabling of animation #20

nootn opened this issue Sep 29, 2021 · 0 comments

Comments

@nootn
Copy link

nootn commented Sep 29, 2021

For performance reasons, we want to disable animation on navigating.

Anywhere in "FormsNavigationHelper" that has ".Navigation.PushAsync(page)", we should allow optionally passing a boolean, E.g. to disable navigation it would be ".Navigation.PushAsync(page, false)" (the default is true if not supplied). Same goes for "PushModalAsync", "PopAsync" and "PopModalAsync".

In terms of how to configure it, maybe there could be a base class for pages that has the boolean, then on each page it can set whether to navigate on entering/leaving? Or is there a better place to configure it?

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

No branches or pull requests

1 participant