- Home
- Forum
- Xamarin.Forms
- When Rotator NavigationStripMode set to Thumbnail it adds duplicate templates and last template missing
When Rotator NavigationStripMode set to Thumbnail it adds duplicate templates and last template missing
Hi,
Rotator with NavigationStripMode="Dots" between page 1 and 2:
Rotator with NavigationStripMode="Thumbnail" between page 1 and 2:
Here you can see a duplicated template 1. Also the last template is missing.
Code:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:rotator="clr-namespace:Syncfusion.SfRotator.XForms;assembly=Syncfusion.SfRotator.XForms"
xmlns:behavior="clr-namespace:MiPlanMobile.Behavior;assembly=MiPlanMobile"
xmlns:convert="clr-namespace:MiPlanMobile.Convert;assembly=MiPlanMobile"
x:Class="MiPlanMobile.View.Wizard.WizardPopUpView"
x:Name="WizardPopUpViewXaml">
<ContentPage.Resources>
<ResourceDictionary>
<DataTemplate x:Key="WizardItemTemplate">
<ContentPresenter Content="{Binding Template}" />
</DataTemplate>
<convert:SelectedIndexChangedConverter x:Key="SelectedIndexChangedConverter" />
</ResourceDictionary>
</ContentPage.Resources>
<ContentPage.ToolbarItems>
<ToolbarItem Icon="Close.png" Command="{Binding CloseModalCommand}" />
</ContentPage.ToolbarItems>
<ContentPage.Content>
<StackLayout>
<rotator:SfRotator x:Name="WizardRotator" ItemsSource="{Binding WizardTemplates}"
ItemTemplate="{StaticResource WizardItemTemplate}" EnableLooping="false"
NavigationStripMode="Dots" VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand" SelectedIndex="{Binding WizardIndex, Mode=TwoWay}">
<rotator:SfRotator.Behaviors>
<behavior:EventToCommandBehavior EventName="SelectedIndexChanged"
Command="{Binding SelectedIndexChangedCommand}"
Converter="{StaticResource SelectedIndexChangedConverter}" />
</rotator:SfRotator.Behaviors>
</rotator:SfRotator>
</StackLayout>
</ContentPage.Content>
</ContentPage>
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:rotator="clr-namespace:Syncfusion.SfRotator.XForms;assembly=Syncfusion.SfRotator.XForms"
xmlns:behavior="clr-namespace:MiPlanMobile.Behavior;assembly=MiPlanMobile"
xmlns:convert="clr-namespace:MiPlanMobile.Convert;assembly=MiPlanMobile"
x:Class="MiPlanMobile.View.Wizard.WizardPopUpView"
x:Name="WizardPopUpViewXaml">
<ContentPage.Resources>
<ResourceDictionary>
<DataTemplate x:Key="WizardItemTemplate">
<ContentPresenter Content="{Binding Template}" />
</DataTemplate>
<convert:SelectedIndexChangedConverter x:Key="SelectedIndexChangedConverter" />
</ResourceDictionary>
</ContentPage.Resources>
<ContentPage.ToolbarItems>
<ToolbarItem Icon="Close.png" Command="{Binding CloseModalCommand}" />
</ContentPage.ToolbarItems>
<ContentPage.Content>
<StackLayout>
<rotator:SfRotator x:Name="WizardRotator" ItemsSource="{Binding WizardTemplates}"
ItemTemplate="{StaticResource WizardItemTemplate}" EnableLooping="false"
NavigationStripMode="Dots" VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand" SelectedIndex="{Binding WizardIndex, Mode=TwoWay}">
<rotator:SfRotator.Behaviors>
<behavior:EventToCommandBehavior EventName="SelectedIndexChanged"
Command="{Binding SelectedIndexChangedCommand}"
Converter="{StaticResource SelectedIndexChangedConverter}" />
</rotator:SfRotator.Behaviors>
</rotator:SfRotator>
</StackLayout>
</ContentPage.Content>
</ContentPage>
Thanks
Mark.
SIGN IN To post a reply.
5 Replies
PA
Paul Anderson S
Syncfusion Team
December 12, 2018 06:55 AM UTC
Hi Mark,
Greetings from Syncfusion.
Query: “When Rotator NavigationStripMode set to Thumbnail it adds duplicate templates and last template missing”
We have analyzed the reported issue and we are unable to reproduce the reported issue. We have created a sample as like your provided code snippet. Please have the sample from the following link
Sample: Rotator_Sample
Could you please update our Syncfusion.Xamarin.SfRotator package into our latest release package (16.3.0.36).
If you still persist the same issue means, please modify the sample as per your scenario so that we can reproduce the issue and help you resolving the issue at your end.
Regards,
Paul Anderson
MA
Mark
January 21, 2019 10:00 AM UTC
Hi Paul,
Sorry about the delay in getting back to you.
Set EnableSwiping="True".
UWP shows the problem, Android and iOS are OK. I tested with your solution.
Attached is your updated solution.
Thanks
Mark.
Attachment: Rotator_sample_6843103f.zip
MS
Mugundhan Saravanan
Syncfusion Team
January 24, 2019 02:00 PM UTC
Hi Mark,
Thanks for your update.
Query: “When Rotator NavigationStripMode set to Thumbnail, templates are not updated properly”
We have validated the defect you have initiated with us. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defect and including the defect fix in our upcoming volume 4 sp1 release which will be rolled out at first week of February,2019.
We will let you know once our volume 4 sp1 release has been rolled out.
Regards,
Mugundan S.
Thanks for your update.
Query: “When Rotator NavigationStripMode set to Thumbnail, templates are not updated properly”
We have validated the defect you have initiated with us. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defect and including the defect fix in our upcoming volume 4 sp1 release which will be rolled out at first week of February,2019.
We will let you know once our volume 4 sp1 release has been rolled out.
Regards,
Mugundan S.
MA
Mark
April 23, 2019 10:22 AM UTC
Fixed. Tested with 17.1.0.42.
MK
Muneesh Kumar G
Syncfusion Team
April 24, 2019 04:50 AM UTC
Hi Mark,
Glad that the issue has been resolved and please get back to us if you need any other assistance.
Thanks,
Muneesh Kumar G.
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
-
MA Mark
- Dec 11, 2018 01:26 PM UTC
- Apr 24, 2019 04:50 AM UTC