maui icon indicating copy to clipboard operation
maui copied to clipboard

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

Open michaelrinderle opened this issue 1 year ago • 2 comments

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

michaelrinderle avatar Dec 01 '23 22:12 michaelrinderle

Related to #18258

Auto72 avatar Dec 04 '23 15:12 Auto72

Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3). Repro on Windows 11, not repro on Android 14.0-API34, iOS 16.4 and MacCatalyst with below Project: 19166.zip

XamlTest avatar Jan 05 '24 06:01 XamlTest