Skip to content

<MenuBar> with <MenuBarItem> and <MenuFlyoutItem> gives error when clicked #19667

Open
@cyraid

Description

@cyraid

Current behavior

Hi guys! It's me again, haha .. Hope you're all doing well.

On a New Project using Mvvm and ThemeService UnoFeatures (not sure that matters), adding to a Page (eg. MainPage), and using:

<MenuBar>
  <MenuBarItem Title="File">
    <MenuFlyoutItem Text="New"/>
    <MenuFlyoutItem Text="Quit" Command="{Binding QuitCommand}"/>
  </MenuBarItem>
</MenuBar>

Clicking on "File" when you have logging enabled (for example in the console) will print:

fail: Uno.UI.DataBinding.BindingPropertyHelper[0]
      The [LightDismissOverlayBackground] property getter does not exist on type [Microsoft.UI.Xaml.Controls.MenuBarItemFlyout]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions