dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.84k stars 1.67k forks source link

CollectionView.Footer content is flipped when CollectionView FlowDirection="RightToLeft" #16152

Open wd-mutasim opened 12 months ago

wd-mutasim commented 12 months ago

Description

CollectionView.Footer content (Text, Button, Border ...) is flipped, when CollectionView FlowDirection="RightToLeft"

Steps to Reproduce

Create new project Add CollectionView Add a Footer to the CollectionView

<CollectionView FlowDirection="RightToLeft">
                <CollectionView.Footer>
                        <Border  Opacity="0.8" StrokeShape="RoundRectangle 30,10,10,30"  Padding="0" StrokeThickness="1" >
                            <Button  Text="Load More.." Command="{Binding LoadMoreCommand}"/>
                        </Border>
                </CollectionView.Footer>
 </CollectionView>

Link to public reproduction project repository

https://github.com/wd-mutasim/CollectionView.Footer.Bug/tree/main/CollectionView.Footer.Bug

Version with bug

8.0.0-preview.5.8529

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 15

Did you find any workaround?

Add ScaleX="{OnPlatform iOS=-1,Default=1}" to the Footer Content

Relevant log output

No response

ghost commented 12 months ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

kevinxufei commented 5 months ago

Verified this issue with Visual Studio Enterprise 17.9.0 Preview 5,repeating the user's problem, when the iOS simulator is rotated, the page content is displayed flipped (mirror effect), and it can be displayed correctly after adding a solution. Screenshot 2024-02-01 162758