-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Spec] Transitions Api #6033
Comments
Could this complement the segue work as well? |
Looks nice #4594. I need to review better the changes in https://github.com/xamarin/Xamarin.Forms/pull/2816/files but I think so, it could complement. We could change this Spec to adapt it to Segue one. For example:
|
Or would it be an attached property like As I think about FlyoutItems and Tabs I don’t see a reason to put transitions there, however if in the future we have a hidden item of some kind to be about to route to (like a login page), then I would want to declare a transition type in the AppShell.xaml.
|
Thanks for the feedback @davidortinau!.
I will think about this better to have something more solid and thus add it to the Spec.
|
that's great! |
Yes please we need this feature more than anything. I already tried to use this lib : https://github.com/GiampaoloGabba/Xamarin.Plugin.SharedTransitions .. |
yes, @davidortinau , @jsuarezruiz we realy need them to make mordern app: |
This looks like a great enhancement, Animations are the type of thing that take an application to the next level. Looking at the Roadmap I would vote to prioritize this above some of the other features |
Any chance the priority of this could be upped? I had a look at the roadmap and most of the things in there are nice to have, while this is almost essential for making modern apps. I’d really appreciate if this could be worked on ASAP. Thanks! |
I agree %100 with @Tommigun1980 |
I'd agree 110% with @Tommigun1980 |
I also agree with @Tommigun1980, and if xamarin.forms team would take some poll on which feature should be prioritized based on its users, then it would be very nice as it is an open-source project. |
What about transitioning in and out. How does this differentiate. may be <ContentPage>
<ContentPage.TransitionIn>
<local:BarnDoorOpenTransition />
</ContentPage.TransitionIn>
<ContentPage.TransitionOut>
<local:BarnDoorCloseTransition />
</ContentPage.TransitionOut>
</ContentPage> |
Any update on this? |
@jsuarezruiz now that XF 5 is finalizing, how will work like this be done? I was under the impression that n new versions of XF will be published until MAUI is released. Does that mean this won't be done until then? |
Although XF 5 has been released, it seems that this feature is still missing. Is there any latest news about this? |
any update ? |
Transitions API
Xamarin.Forms already has a complete animations API allowing you to create a live and fluid content on a page. However, what happens when navigating between pages?.
This spec defines a transitions api. We have two types of well-differentiated transitions:
API
For the traditional transitions, we need a new enumeration with the supported transitions:
And, include a new property in the Page to allow page transitions using NavigationPage and/or Shell:
Other related properties can be added like:
On the other hand, we need a way to allow the shared element transitions. The key is a way to "link" the same item available in two different pages.
We will have an attached property to the supported elements inherited from View:
The use would be:
Tag the control to transition in the source page.
And tag the control to transition in the destination page.
Scenarios
A sample using transitions between pages:
A sample using shared transitions elements:
Page 1:
Page 2:
Notes
TransitionName
in source and destination page needs to match in order to display the transition.TransitionName
in a page needs to be unique.Difficulty : [medium]
The text was updated successfully, but these errors were encountered: