Skip to content

[iOS, Mac] CollectionView with a static string-based ItemsSource does not respect right-to-left (RTL) FlowDirection. #29799

@HarishwaranVijayakumar

Description

@HarishwaranVijayakumar

Description

When using FlowDirection set to RightToLeft in a CollectionView with a string-based ItemsSource on iOS and macOS, the flow direction is not respected. This issue does not occur on Android or Windows.

Steps to Reproduce

Reproduction Steps:

  • Create a new .NET MAUI project.
  • Replace the content of MainPage.xaml with the Below code
<StackLayout Margin="20">
        <CollectionView x:Name="list"
                        FlowDirection="RightToLeft">
            <CollectionView.ItemsSource>
                <x:Array Type="{x:Type x:String}">
                    <x:String>Item 1</x:String>
                    <x:String>Item 2</x:String>
                    <x:String>Item 3</x:String>
                    <x:String>Item 4</x:String>
                </x:Array>
            </CollectionView.ItemsSource>
        </CollectionView>
</StackLayout>
Expected Output Actual Output

Link to public reproduction project repository

No response

Version with bug

9.0.70 SR7

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac Catalysts/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions