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

Allow card pages to animate in from any edge #46

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alexhardwicke
Copy link

I'd like to add support for animating in the card page from any edge (when using page.ShowAsync()).

This is an initial pull request to start a discussion about how to handle a few things - I don't think it's yet ready to merge in, although functionally it works perfectly.

The main question I have is regarding the "CardPosition" enum and property that @vbenkevich added with #1.

We could use CardPosition for the animation edge rather than adding a new property (which is what I've done at the moment), but if we did that I'm not sure how to handle Custom and Center.

They also have two different purposes, as far as I can tell - CardPosition is where the card is anchored when it's fully animated in, while my new "EdgePosition" is the edge it should animate from when it's appearing.

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 this pull request may close these issues.

None yet

1 participant