Drag and drop stop working when await Navigation.PopAsync(true);

Xamarin.Forms 5.0.0.2083
version 19.2.0.60

1-in the ItemTapped event i open a new page, (await Navigation.PushAsync(new ItemDetailPage(new ItemDetailViewModel(item)));) and when I go back I can't drag a card.

<kanban:SfKanban x:Name="SfKbanTec" MaximumColumnWidth="650" AutoGenerateColumns="False" ItemsSource="{Binding CardsTecOriginal}"

                             HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" ItemTapped="SfKbanTec_ItemTapped" >

                <kanban:SfKanban.CardTemplate >


                    <DataTemplate>

                        <Frame BorderColor="Black" BackgroundColor="White" Padding="5,5,5,5" HeightRequest="150" >

                            <Grid HorizontalOptions="FillAndExpand" >

                                <Grid.ColumnDefinitions>

                                    <ColumnDefinition Width="*"/>

                                    <ColumnDefinition Width="50"/>

                                </Grid.ColumnDefinitions>

                                <StackLayout Grid.Column="0" HorizontalOptions="FillAndExpand" Orientation="Vertical" >

                                    <Label Text="Titulo" FontSize="14" TextColor="#2196F3" HorizontalOptions="FillAndExpand" LineBreakMode="TailTruncation" FontAttributes="Bold" />

                                    <Label Text="{Binding DataDoc}" FontSize="12" TextColor="#2196F3" LineBreakMode="WordWrap" ></Label>

                                    <Label Text="{Binding Description}" HeightRequest="68" FontSize="12" TextColor="#2196F3" LineBreakMode="WordWrap" ></Label>

                                    <segmentedcontrol:SfChipGroup HeightRequest="20" ChipTextSize="10" ItemsSource="{Binding Tags}" Type="Filter" IsEnabled="False" VerticalOptions="End" />

                                </StackLayout>

                                <sfAvatarView:SfAvatarView Grid.Column="1" VerticalOptions="Start" InitialsType="DoubleCharacter" AvatarName="{Binding Geral0}" InitialsColor="Black" BorderColor="LightSteelBlue" CornerRadius="25" BackgroundColor="LightCyan" WidthRequest="50" HeightRequest="50"/>

                            </Grid>

                        </Frame>

                    </DataTemplate>

                </kanban:SfKanban.CardTemplate>

            </kanban:SfKanban>



2-

i tried to use sftabview with 3 views, i had 2 contentview with skkanban with different columns and DataTemplate.

when I open the second tab with contentview the first contentview of the first tab is formatted the same as the DataTemplate of the 2 contentview

private void TabView_TabItemTapped(object sender, Syncfusion.XForms.TabView.TabItemTappedEventArgs e)

        {     var tabIndex = TabView.Items.IndexOf(e.TabItem);

            if (TabView.Items[tabIndex].Content == null)

            { TabView.Items[tabIndex].Content = GetItemContent(tabIndex);  }

        }


Attachment: Video_611640af.zip

11 Replies 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team September 13, 2021 05:32 PM UTC

Hi Antonio, 
 
Greetings from Syncfusion. 
 
We have analyzed your query and we can reproduce the reported problem “After Navigation.PushAsync and pop the navigation page, Kanban card item does drag and drop in UWP” at our end. Also, currently we are validating this and we will update you with complete details on or before 15th September 2021. We appreciate your patience until then. 
 
Regards, 
Yuvaraj. 



AN Antonio September 15, 2021 08:07 PM UTC

Thanks for the update.



YP Yuvaraj Palanisamy Syncfusion Team September 16, 2021 01:02 PM UTC

Hi Antonio, 
 
Thanks for your patience.

On further analysis we have confirmed that the reported problem “SfKanban card does drag and drop after push and pop the page in UWP” as issue. Also, we have fixed the reported issue and we have generated the patch with fix for the reported issue. Please find the patch details from the below link. 
 
 
    
    
    
Assembly Version: 19.2.0.55  
        
Disclaimer:      
     
Please note that we have created this patch for version 19.2.0.55 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.    
       
Please clear the NuGet cache, before using the latest one. 
Please refer below steps to remove the cache:   
Note: The images shows as SfChart, please refer SfKanban instead of SfChart for your scenario  
Step 1: Uninstall the SfKanban package in your application.  
Step 2: Close your application.  
Step 3: Delete bin, obj in your application location.  
Step 4: Remove the SfKanban nuget under the .nuget folder as per the following screenshot:  
   
Step 5: Extract the custom nuget and now your custom nuget look like this. 
  
  
Step 6: Move the Syncfusion.SfKanban.UWP nuget inside the Xamarin folder as per the following screenshot. 
  
  
  
Note: If the Xamarin structure does not look like above screenshot means, custom nuget will not properly works for Xamarin.Forms UWP platform. 
Step 7: Goto the package resource setting and a new source named as CustomNuget 
Step 8: Select the location where you have the custom nuget. 
  
Step 9: Select the CustomNuget in Package source as per the following screenshot: 
 
  
Step 10: Now you can see the SfKanban nugets in browse section and you can install the SfChart custom nuget. 
 
 
For more details, please refer below kb to clear the cache:  
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache   

Also, please confirm the fix for the issue at your end, based on that we will be included in our official  release. 
  
 
Regards, 
Yuvaraj. 


Marked as answer

AN Antonio September 16, 2021 08:30 PM UTC

thanks, it works,

I changed my mind and I'm not going to use tabview but about point 2 I've attached an example with the problem

page 1 set frame red

page 2 set frame black

but when running they are both black

maybe could help someone else


Attachment: TabviewSample167658398_kanban_2e61c078.zip


YP Yuvaraj Palanisamy Syncfusion Team September 19, 2021 09:36 AM UTC

Hi Antonio,

 
Thanks for your update. 
 
We have checked the reported problem “Frame color is not updated inside Kanban Card Template in different SfTabView page” has been reproduced at our end. Currently we are validating this and we will update you with complete details on or before 21st September 2021. We appreciate your patience until then. 

Regards,
 
Yuvaraj. 



YP Yuvaraj Palanisamy Syncfusion Team September 22, 2021 05:28 PM UTC

Hi Antonio, 
 
Sorry for the delay.

Still we are validating this to find the exact root cause of the problem “Kanban card template is not updated properly when inside SfTabView” and we will update you with complete details on 23rd September 2021. We appreciate your patience until then.
 

Regards,
 
Yuvaraj. 



YP Yuvaraj Palanisamy Syncfusion Team September 23, 2021 11:55 AM UTC

Hi Antonio,  
   
Thanks for your patience.   
   
We have confirmed that the reported problem “Kanabn card template is not updated properly when we have two Kanban inside SfTabView ” as issue, and the fix for the reported issue will be included in our weekly NuGet release which is expected to be roll out on 12th October 2021. We appreciate your patience until then. We will let you know once it gets rolled out.       
   
    
Note: The provided feedback link is private, and you need to login to view this feedback.  
  
Regards,  
Yuvaraj  



DD Devakumar Dhanapoosanam Syncfusion Team October 19, 2021 10:12 AM UTC

Hi Antonio, 
 
We are glad to announce that our weekly NuGet was rolled out and fix for the reported issue was included in the weekly NuGet. 
 
NuGet Version: 19.3.0.46   
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Devakumar D 



YP Yuvaraj Palanisamy Syncfusion Team October 26, 2021 01:59 PM UTC

  
Hi Antonio, 
  
Sorry for the inconvenience caused. 
 
We have fixed the reported issue “Kanban CardTemplate is not updated properly when we have more than one SfKanban” and due to some technical hurdles, we are not included in our today weekly nuget release. And we have generated the patch for this fix. We will include this fix in our upcoming Volume 3 SP1 release which is scheduled to publish on or before 10th November 2021. We appreciate your patience until then. We will let you know once it gets rolled out. Until then please make use of this patch.  
  
  
  
  
Assembly Version: 19.3.0.43  
      
Disclaimer:    
   
Please note that we have created this patch for version 19.3.0.43 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received. 
 
Please refer below steps to remove the cache:   
Step 1: Uninstall the SfKanban package in your application.  
Step 2: Close your application.  
Step 3: Delete bin, obj in your application location.  
Step 4: Remove the SfKanban nuget under the .nuget folder as per the following screenshot:  
   
Step 5: Extract the custom nuget and now your custom nuget look like this. 
  
  
Step 6: Move the Syncfusion.SfKanban.UWP nuget inside the Xamarin folder as per the following screenshot. 
  
  
  
Note: If the Xamarin structure does not look like above screenshot means, custom nuget will not properly works for Xamarin.Forms UWP platform. 
Step 7: Goto the package resource setting and a new source named as CustomNuget 
Step 8: Select the location where you have the custom nuget. 
  
Step 9: Select the CustomNuget in Package source  and now you can see the SfChart nugets in browse section and you can install the SfChart custom nuget as per the following screenshot: 
 
 
 
Note: Images are represented as SfChart. You can use SfKanabn instead of SfChart. 
 
 
Please clear the NuGet cache, before using the latest one. 
 
 
 
Please check and let us know whether the reported problem has been resolved or not. Based on your confirmation, we will check the possibility to include this fix in our upcoming official release.  
 
Regards, 
Yuvaraj 



DD Devakumar Dhanapoosanam Syncfusion Team November 10, 2021 04:02 PM UTC

Hi Antonio, 
 
We have postponed our Volume 3 SP1 release to November 12, 2021. We will let you know once it gets rolled out. 
 
Regards, 
Devakumar D 



DD Devakumar Dhanapoosanam Syncfusion Team November 12, 2021 03:52 PM UTC

Hi Antonio, 
 
We are glad to announce that our Essential Studio 2021 Volume 3 Service Pack Release V19.3.0.53 is rolled out and is available for download under the following link. 
 
 
The fix for the reported issue “Kanban CardTemplate is not updated properly when we have more than one SfKanban” was included in this release. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Devakumar D 


Loader.
Up arrow icon