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

Different route animation behaviour depending on from/to routes #845

Open
stefanholzapfel opened this issue Apr 13, 2023 · 0 comments · May be fixed by #646
Open

Different route animation behaviour depending on from/to routes #845

stefanholzapfel opened this issue Apr 13, 2023 · 0 comments · May be fixed by #646

Comments

@stefanholzapfel
Copy link

I needed different behaviour for my route animations, depending on the route the app is going to. E.g. components should leave to the left when going deeper in the routing tree, leaving right when going "back". The simplest way was to enable the router to accept a factory function for the "animate" property that would be evaluated on every route change.

See pull request: #646

@stefanholzapfel stefanholzapfel changed the title Different route animation behaviour depending on state change Different route animation behaviour depending on from/to routes Apr 13, 2023
@stefanholzapfel stefanholzapfel linked a pull request Apr 13, 2023 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

1 participant