Skip to content

WinUI Hamburger Button Cut Off #19482

Closed
Closed

Description

@GuyMicciche

Current behavior

Image

As you can see, the app on the RIGHT is UNO app and the app on the left in WinUI 3. Seems like the hamburger button is experiencing some issues.

Does anyone know of any current fix for this?

Thanks in advanced!

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on Feb 8, 2025
  2. DevTKSS commented on Feb 10, 2025

    @DevTKSS
    Contributor

    if this issue has been resolved, mine (exactly the same) could be also closed: unoplatform/Uno.Themes#1512

  3. MartinZikmund commented on Mar 26, 2025

    @MartinZikmund
    Member

    @DevTKSS although these could have the same underlying cause, this one specifically is on Fluent styles, which makes it less likely that Material design (the linked issue) is the cause 🤔

  4. DevTKSS commented on Mar 26, 2025

    @DevTKSS
    Contributor

    Dont know if its known but did someone recognize the samples app does also have it? This cut off thing?

  5. MartinZikmund commented on Mar 26, 2025

    @MartinZikmund
    Member

    @DevTKSS Samples app does not directly use NavigationView and the problem does not happen there

  6. self-assigned this
    on Mar 31, 2025
  7. jeromelaban commented on Apr 1, 2025

    @jeromelaban
    Member

    @GuyMicciche Could you show the XAML that you used for this particular app? We're not able to reproduce the difference the same way your screenshot does.

  8. GuyMicciche commented on Apr 4, 2025

    @GuyMicciche
    Author

    This is my XAML code. I do not have anything in the ViewModel that changes the UI.

    <Page
        x:Class="UnoApp2.Views.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:android="http://uno.ui/android"
        xmlns:behaviors="using:UnoApp2.Behaviors"
        xmlns:consts="using:UnoApp2.Models.Consts"
        xmlns:converters="using:CommunityToolkit.WinUI.Converters"
        xmlns:core="using:Microsoft.Xaml.Interactions.Core"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:i="using:Microsoft.Xaml.Interactivity"
        xmlns:ios="http:/uno.ui/ios"
        xmlns:local="using:UnoApp2"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
        xmlns:not_ios="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:not_win="http://uno.ui/not_win"
        xmlns:prismMvvm="using:Prism.Mvvm"
        xmlns:prismRegions="using:Prism.Navigation.Regions"
        xmlns:toolkit="using:Uno.UI.Toolkit"
        xmlns:uen="using:Uno.Extensions.Navigation.UI"
        xmlns:utu="using:Uno.Toolkit.UI"
        xmlns:wasm="http://uno.ui/wasm"
        xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        HorizontalContentAlignment="Stretch"
        VerticalContentAlignment="Stretch"
        prismMvvm:ViewModelLocator.AutowireViewModel="True"
        mc:Ignorable="d not_win ios wasm android">
    
        <Page.Resources>
            <ResourceDictionary>
                <converters:BoolToVisibilityConverter
                    x:Key="BoolToVisibilityConverter"
                    FalseValue="Collapsed"
                    TrueValue="Visible" />
            </ResourceDictionary>
        </Page.Resources>
    
    
        <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
            <muxc:NavigationView
                x:Name="NavigationViewControl"
                AlwaysShowHeader="True"
                CanDrag="True"
                IsBackButtonVisible="Visible"
                IsTabStop="False"
                IsTitleBarAutoPaddingEnabled="True"
                OpenPaneLength="200"
                PaneDisplayMode="Auto">
                <!--  Custom TitleBar with NavigationView L-Pattern Overwriting resources  -->
                <muxc:NavigationView.Resources>
                    <!--  This top margin is the height of the custom titleBar  -->
                    <Thickness x:Key="NavigationViewContentMargin">0,48,0,0</Thickness>
                    <Thickness x:Key="NavigationViewMinimalContentMargin">0,48,0,0</Thickness>
                    <Thickness x:Key="NavigationViewContentGridBorderThickness">1,1,0,0</Thickness>
                    <!--  This is the rounded corner on the Top left of the L Pattern  -->
                    <CornerRadius x:Key="NavigationViewContentGridCornerRadius">8,0,0,0</CornerRadius>
                </muxc:NavigationView.Resources>
                <muxc:NavigationView.Header>
                    <utu:NavigationBar Content="{Binding Title, Mode=TwoWay}" />
                </muxc:NavigationView.Header>
                <muxc:NavigationView.MenuItems>
                    <muxc:NavigationViewItem Content="Home" />
                    <muxc:NavigationViewItem Content="Another Page" />
                </muxc:NavigationView.MenuItems>
            </muxc:NavigationView>
    
            <Border Background="#7F000000" Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibilityConverter}}">
                <ProgressRing
                    not_win:Height="40"
                    not_win:Width="40"
                    win:Height="60"
                    win:Width="60"
                    Foreground="White"
                    IsActive="True" />
            </Border>
    
        </Grid>
    </Page>
  9. ramezgerges commented on Apr 4, 2025

    @ramezgerges
    Contributor

    I still can't repro with 6.0.0-dev.132. @GuyMicciche, what Uno.Sdk version are you using?

  10. GuyMicciche commented on Apr 6, 2025

    @GuyMicciche
    Author

    I still can't repro with 6.0.0-dev.132. @GuyMicciche, what Uno.Sdk version are you using?

    Uno.Sdk 5.6.51

  11. DevTKSS commented on Apr 6, 2025

    @DevTKSS
    Contributor

    Here too, same sdk , but I do have a way less configured navigationview setup to get this👀
    Yes I am getting this with apllying material styles instead of winui fluent, but its showing exactly the same to me: bottom of this button cut off 🤷

  12. jeromelaban commented on Apr 6, 2025

    @jeromelaban
    Member

    @GuyMicciche @DevTKSS Thanks, if this happens with the material theme, could you try without it?

    It's generally why we ask for a full repro when creating issues. Could you create one so we're talking about the same behavior? Thanks!

  13. DevTKSS commented on Apr 6, 2025

    @DevTKSS
    Contributor

    Answered repro options I can currently provide on the other issue

  14. added theissue type on Jun 20, 2025
  15. added
    project/styling 👔
    difficulty/medium 🤔
    and removed
    triage/untriaged
    difficulty/tbd
    on Sep 24, 2025
  16. github-actions commented on May 11, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  17. added
    stale
    on May 11, 2026
  18. removed
    stale
    on May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/medium 🤔kind/bugproject/styling 👔

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions