We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTabView: When we set the ContentHeader of a TabItem the animation when switching tabs does not occur nor does the tap animation occur

Thread ID:

Created:

Updated:

Platform:

Replies:

148810 Nov 5,2019 01:53 PM UTC Nov 8,2019 10:52 AM UTC Xamarin.Forms 2
loading
Tags: SfTabView
Derek Farr
Asked On November 5, 2019 01:53 PM UTC

Using the Xamarin Forms SfTabView and we customize the the HeaderContent of a tab item, 2 issues arise:

  1. The animation that occurs by default when changing tabs no longer occurs.  By default the current content swipes to the left and the next tab swipes in after it.  When we set the HeaderContent value, this no longer occurs, it instantly changes the content to the new tab.  How do we keep the animation?
  2. When we set the HeaderContent to something like a StackLayout with a label and an Iconize icon...when we tap on tab item the tap animation no longer occurs.  We even set the background color to Transparent.  We can put in a Button to recreate this, but then the selected background color doesn't show forcing us to have to manually manage this.  Is this how it is supposed to work where if we update the HeaderContent we have to manager everything ourselves?

Hemalatha Marikumar [Syncfusion]
Replied On November 6, 2019 12:51 PM UTC

Hi Derek Farr, 
  
Greetings from Syncfusion. 
  
Query 1: How do we keep the animation? 
  
Currently, we are validating the reported issue we will let you know the complete details on or before the 8th Nov 2019. 
  
Query 2:  Is this how it is supposed to work where if we update the HeaderContent we have to manager everything ourselves? 
  
Since the TabView is customized with the custom HeaderContent, any customizations such as changing the color of the selected tab, must be handled using the SelectionChanged event. Please let us know if you have any difficulties while using HeaderContent. 
 
Regards, 
Hemalatha M. 
 


Hemalatha Marikumar [Syncfusion]
Replied On November 8, 2019 10:52 AM UTC

Hi Derek Farr, 
  
Greetings from Syncfusion. 
 
We have checked the reported issue “SfTabView: When we set the HeaderContent of a TabItem the animation when switching tabs does not occur” and we are able to reproduce the issue. We have fixed the issue find the patch from below link. 
  
Please find the patch setup from the below location.   
  
  
(OR) 
   
Please find the patch assemblies from the below location.   
  
  
(OR) 
  
Please find the NuGet from the below location.   
  
  
Assembly Version: v17.3.0.26 
  
Disclaimer:  Please note that we have created this patch for the version 17.3.0.26 specifically to resolve the issue reported in this incident. 
 
The fix for this issue will be included in our next weekly release, which will be available on 12th November 2019. 
  
We request before replacing the NuGet, please follow the below steps to clear the NuGet cache,  
  
For Windows  
  
Follow the below link to clear cache,  
  
For Mac  
  
• ~/.local/share/NuGet/Cache  
  
• ~/.nuget/package  
  
Please get back us, if you have any concern. 
  
Regards, 
Hemalatha M. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon