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

GoToAsync() animation param no longer has effect #3

Open
harrismasterson opened this issue Feb 2, 2023 · 1 comment
Open

GoToAsync() animation param no longer has effect #3

harrismasterson opened this issue Feb 2, 2023 · 1 comment

Comments

@harrismasterson
Copy link

I have successfully plugged this navbar into my existing Maui project. I changed the main body of the AppShell.cs from the build in Shell to a simpleShell from the simple toolkit to achieve the tabbar animation. This all works well now, but now when I call the built in GoToAsync() method from any page and set the animation param = true, I no longer have the left to right animation where it takes you left to right to the new page, and then when you click the back button it takes you right to left. Any idea how to replicate this style in the simpleshell, or am I missing something?

@RadekVyM
Copy link
Owner

RadekVyM commented Feb 2, 2023

Hi @harrismasterson,
there is no default page transition in SimpleShell. You have to implement page transitions completely by yourself in SimpleShell, see documentation. Actually, everything visual has to be defined by yourself. This is both an advantage and a disadvantage of SimpleShell.

The mentioned parameter of the GoToAsync() method has currently no effect on whether the animation is played or not. Animation is always played when is defined.

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

2 participants