Skip to content

How to switch .NET MAUI Flyout of Shell to the right with FlowDirection? #15221

@RafikMk

Description

@RafikMk

Discussed in #15202

Originally posted by RafikMk May 21, 2023
Hello everyone,

I'm currently working on a .NET MAUI application and facing a challenge with the Flyout menu (Sidebar). I'm targeting a right-to-left layout to better cater to right-to-left languages.

I've attempted to use the FlowDirection="RightToLeft" attribute within the Shell, as shown below:

<Shell xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
       x:Class="MyApp.AppShell"
       FlowDirection="RightToLeft">

While this successfully reverses my content's flow, it doesn't affect the Flyout menu which still slides from the left. Instead, I'm aiming to have the Flyout emerge from the right.

Is there a way to achieve this in .NET MAUI?

Thanks in advance for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-flyoutFlyoutarea-controls-shellShell Navigation, Routes, Tabs, Flyoutarea-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenters/needs-attentionIssue has more information and needs another looks/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions