Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Flyout Menu Backdrop Area does not Readjust on Orientation Change #21105

Open
asi-evin opened this issue Mar 8, 2024 · 2 comments · May be fixed by #27700
Open

iOS: Flyout Menu Backdrop Area does not Readjust on Orientation Change #21105

asi-evin opened this issue Mar 8, 2024 · 2 comments · May be fixed by #27700
Labels
area-controls-flyout Flyout partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@asi-evin
Copy link

asi-evin commented Mar 8, 2024

Description

If the flyout menu is open, and you change the orientation from portrait to landscaper, the backdrop area does not re-adjust accordingly. Furthermore, where the backdrop does not cover the page, you can interact with that page.

This appears to only be an issue on iOS. Android and Windows do not display this issue. Was not able to test MacCatalyst, and did not try an iPad either.

Steps to Reproduce

  1. Create New Maui Project
  2. Change "Shell.Flyout.Behavior" to "Flyout"
  3. Add Flyout Items (simplest to to just add menu items).
  • Bonus: Change "Shell.FlyoutBackdrop" to make the issue more obvious.
  • Example Shell XAML:
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
    x:Class="Flyout_Orientation_Change_Testing.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:Flyout_Orientation_Change_Testing"
    Shell.FlyoutBehavior="Flyout"
    Shell.FlyoutBackdrop="#7FFFFF00"
    Title="Flyout_Orientation_Change_Testing">

    <ShellContent
        Title="Home"
        ContentTemplate="{DataTemplate local:MainPage}"
        Route="MainPage" />

    <MenuItem Text="Item 1" />

    <MenuItem Text="Item 2" />
  1. Launch App on iOS device or simulator.
  2. Open the Flyout.
  3. While the Flyout is Open, Change the phone's Orientation.

Expected Result:

  • Backdrop area adjusts to new orientation.
  • Page Below backdrop prevents current page from being interacted with.
    2024-03-08_11-26-53-AM
    2024-03-08_11-26-37-AM

Actual Result:

  • Backdrop area does NOT adjust, parts of the page are not covered by backdrop.
  • The parts of the page the backdrop does not cover can be interacted with. You can scroll on the page and press the button.

2024-03-08_11-26-46-AM
2024-03-08_11-27-06-AM

Link to public reproduction project repository

None. Simple enough to create from starting template.

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.2

Did you find any workaround?

Haven't tried messing with the Handler yet. Closing and opening the flyout does fix the issue, so perhaps you could do that on orientation changes.

Relevant log output

None
@asi-evin asi-evin added the t/bug Something isn't working label Mar 8, 2024
@RoiChen001
Copy link

Can repro this issue at iOS platform on the latest 17.10 preview 2.

@RoiChen001 RoiChen001 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Mar 15, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 4, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 2024
@asi-evin
Copy link
Author

This is still an issue in .NET 9. Any chance this can get a fix?

@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-flyout Flyout partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
5 participants