Skip to content
New issue

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

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

Already on GitHub? # to your account

View transitions #465

Merged
merged 4 commits into from
Sep 27, 2023
Merged

View transitions #465

merged 4 commits into from
Sep 27, 2023

Conversation

s-cork
Copy link
Collaborator

@s-cork s-cork commented Sep 24, 2023

This PR adds transitions to page navigation for the routing and navigation module

To decide:
Should this be opt in or opt out?
Presumably the next release will be a minor version bump so we can decide now?
This PR adds view transitions by default so you have to opt out.

It can be turned on or off using either

navigation.use_transitions(False)
routing.use_transitions(False)

See this site for the transitions in action
They're pretty subtle (only works on chrome)

https://dev-routing-example.anvil.app

@meatballs
Copy link
Member

Nice. I think opt out is the better way to go.

@meatballs meatballs merged commit f8538a9 into main Sep 27, 2023
@meatballs meatballs deleted the view-transitions branch September 27, 2023 15:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants