Horizontal SfListView shifts items when item source count is less than 3 and flow direction RTL on IOS

Hi there,

I'm using SfListView with horizontal orientation.

It works great in LTR flow direction but in RTL it shifts the items outside the screen and the user can no longer see them on IOS PLATFORM ONLY.


Please let me know when can you fix that


Thanks


Xaml Code


<Grid RowDefinitions="Auto,Auto,Auto,*">

        <Label

            x:Name="favouriteTitleLabel"

            Grid.Row="0"

            Style="{StaticResource LabelSemiBoldH6TitleText}"

            Margin="5,4,5,0"

            Text="{Static resources:AppRemoteLocalization.Favorites}" />


        <xforms:SfListView

            x:Name="favouriteList"

            Grid.Row="1"

            HeightRequest="130"

            Orientation="Horizontal"

            ItemSize="130"

            ItemsSource="{Binding FavoriteItemsSource, Source={RelativeSource AncestorType={Type controls:SelfServicesView}}}" />

</Grid>


Attachment: sflistview_issue_a383597f.zip

2 Replies

LN Lakshmi Natarajan Syncfusion Team June 15, 2022 05:19 PM UTC

Hi mahmoud,


Currently, we are checking on the reported scenario on our end. We will update you with further details in two business days (June 17, 2022). We appreciate your patience until then.


Regards,

Lakshmi Natarajan




LN Lakshmi Natarajan Syncfusion Team June 16, 2022 02:09 PM UTC

Hi Mahmoud,


We have checked our sample based on the code snippets provided. Unfortunately, we are unable to replicate the reported scenario when using less than 3 items.


We have attached the tested sample and output image for your reference.



Note: We have tested our sample with the latest Syncfusion and Xamarin.Forms version in iPhone 12 iOS 14.4 simulator.


Please check our sample and let us know if you are still facing the same scenario or not. If not, please modify our sample to replicate the issue and revert to us with the following details,

  • Issue replication sample
  • Tested device details
  • Syncfusion and Xamarin.Forms version


It will be helpful for us to look into the issue and provide you with a prompt solution as soon as possible.


Regards,

Lakshmi Natarajan



Attachment: HorizontalRTL_3d2863e4.zip

Loader.
Up arrow icon