File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Core/Compatibility/Handlers/FlyoutPage/iOS
tests/TestCases.Shared.Tests/Tests/Issues/XFIssue Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ void LayoutChildren(bool animated)
390390
391391 if ( IsRTL && ! FlyoutOverlapsDetailsInPopoverMode )
392392 {
393- flyoutFrame . X = ( int ) ( flyoutFrame . Width * .25 ) ;
393+ flyoutFrame . X = ( int ) ( frame . Width - flyoutFrame . Width ) ;
394394 }
395395
396396 var detailsFrame = frame ;
Original file line number Diff line number Diff line change 1- #if TEST_FAILS_ON_WINDOWS && TEST_FAILS_ON_CATALYST && TEST_FAILS_ON_IOS
1+ #if TEST_FAILS_ON_WINDOWS && TEST_FAILS_ON_CATALYST
22// Orientation not supported in Catalyst and Windows
3- // On iOS FlyoutPage RTL is not working as expected, Issue: https://github.com/dotnet/maui/issues/26726
43using NUnit . Framework ;
54using UITest . Appium ;
65using UITest . Core ;
@@ -35,8 +34,8 @@ public void RootViewMovesAndContentIsVisible()
3534 Assert . That ( positionStart , Is . Not . EqualTo ( secondPosition ) ) ;
3635 }
3736
38- [ Test ]
39- public void RootViewSizeDoesntChangeAfterBackground ( )
37+ [ Test ]
38+ public async Task RootViewSizeDoesntChangeAfterBackground ( )
4039 {
4140 var idiom = App . WaitForElement ( "Idiom" ) ;
4241 App . SetOrientationLandscape ( ) ;
@@ -52,6 +51,7 @@ public void RootViewSizeDoesntChangeAfterBackground()
5251 App . WaitForNoElement ( "RootLayout" ) ;
5352 App . ForegroundApp ( ) ;
5453 var newWindowSize = App . WaitForElement ( "RootLayout" ) ;
54+ await Task . Delay ( 2000 ) ; // Wait for the app to settle after foregrounding
5555 Assert . That ( newWindowSize . GetRect ( ) . Width , Is . EqualTo ( windowSize . GetRect ( ) . Width ) ) ;
5656 Assert . That ( newWindowSize . GetRect ( ) . Height , Is . EqualTo ( windowSize . GetRect ( ) . Height ) ) ;
5757 }
You can’t perform that action at this time.
0 commit comments