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

Basic transition + Transitions from collections failed #68

Open
azapatac opened this issue Oct 8, 2021 · 0 comments
Open

Basic transition + Transitions from collections failed #68

azapatac opened this issue Oct 8, 2021 · 0 comments

Comments

@azapatac
Copy link

azapatac commented Oct 8, 2021

I have a ContentPage with a TabView from Xamarin Community Toolkit

In one TabViewItem, I have a CollectionView with transitions, working OK

My ContentPage:

<ContentPage
...
xmlns:sharedTransitions="clr-namespace:Plugin.SharedTransitions;assembly=Plugin.SharedTransitions"
sharedTransitions:SharedTransitionNavigationPage.TransitionSelectedGroup="{Binding DiscountId}>

In the TabViewItem, inside the Template:

<ImageLoading:CachedImage
sharedTransitions:Transition.Name="DiscountImage"
sharedTransitions:Transition.Group="{Binding Id}">

Is working OK

Screen.Recording.2021-10-07.at.7.44.25.PM.mov

But I have in another TabViewItem with a simple Image

<ImageLoading:CachedImage
Aspect="Fill"
DownsampleToViewSize="true"
ErrorPlaceholder="notfound"
HeightRequest="300"
LoadingPlaceholder="loading"
sharedTransitions:Transition.Name="DiscountImage"
Source="{Binding ImageUrl}"
/>

Screen.Recording.2021-10-07.at.7.45.10.PM.mov

Transitions FAILED

If I remove "sharedTransitions:SharedTransitionNavigationPage.TransitionSelectedGroup="{Binding DiscountId}" in my ContentPage

The first one is OK and the second is FAILED

Screen.Recording.2021-10-07.at.7.47.01.PM.mov
Screen.Recording.2021-10-07.at.7.47.29.PM.mov

Bug Information

Version Number of Plugin: 2.0.4
Version of VS:
Version of Xamarin: 5.0.0.2125
Versions of other things you are using:

Steps to reproduce the Behavior

  1. Create a Xamarin.forms project
  2. Install Xamarin Community Toolkit last version
  3. On the main page, add TabView with 2 TabViewItem and set up the page to use collectioview
  4. In the first TabViewItem add collection view transition and the second TabViewItem add one image with transition

Expected Behavior

Transitions from collection view item OK
Transitions from image OK

Actual Behavior

Transitions from collection view item OK
Transitions from image FAILED

If we remove "sharedTransitions:SharedTransitionNavigationPage.TransitionSelectedGroup="{Binding DiscountId}" in my ContentPage

Transitions from collection view item FAILED
Transitions from image OK

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

No branches or pull requests

1 participant