Skip to content

[WinUI] Adding Toolbar item to ContentPage has unusual drop shadow on menu. #19166

@michaelrinderle

Description

@michaelrinderle

Description

Adding a toolbar item in WinUI has an unusual drop shadow on a new vanilla project.

Adding

<ContentPage.ToolbarItems>
    <ToolbarItem Text="test" Order="Secondary" Priority="0" />
</ContentPage.ToolbarItems>    

to MainPage.Xaml results in the following.

Screenshot 2023-12-01 164243

Steps to Reproduce

  1. Create new MAUI App.
  2. Add toolbar item to MainPage.Xaml

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

8.0.3

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-toolbarToolBarmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/windowss/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