-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fade transition different Push/Pop #11
Comments
A shared element transition occour beetween moving the same element between two pages. This is done taking a snapshot of the view in the starting page and translate it to the destination (then the snapshot is removed). In your case, if you want just a fade animation between two pages, dont tag the elements with the transition.name attached property. If you change the text of the button, then this is no more a shared element transition, and when the transition end the snapshot will be cleared and the button with the new text will appear, so the visive effect is not the best. Usually shared transitions are used to animate size and position of the same element, without changing it's content. |
Btw i will check the pop transition: its too fast and is not respecting the 2000ms. |
The button seems not to be happening to the animation, or it is happening very fast but towards the end of the 2000ms animation. |
yep, this happens because the button is marked as a SharedTransition element (with the Transition.Name property). So, if you want a sample fade transition, just dont use the Transition.SetName method and the button will fade like the other views :) |
i fixed the pop transition issue, is in master branch now. I need to double check in Android. But i dont recommend to use this plugin to transition fixed elements :) |
Bug Information
Version Number of Plugin: 2.0.1
Device Tested On: iPhone X
Simulator Tested On: iPhone X
Version of VS: 8.2.3
Version of Xamarin: 12.14.0.114
Versions of other things you are using:
Expected Behavior
Animation between the buttons.
Pop will be the same as Push (between controls).
Actual Behavior
Button does not occur Animation (in case of Fade test).
Pop doesn't have the same fluidity as Push.
Code snippet
Screenshots
The text was updated successfully, but these errors were encountered: