Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MenuFlyoutItems programmatically added to MenuFlyoutSubItems are not visible. #26856

Open
lendres opened this issue Dec 30, 2024 · 0 comments · May be fixed by #26886
Open

MenuFlyoutItems programmatically added to MenuFlyoutSubItems are not visible. #26856

lendres opened this issue Dec 30, 2024 · 0 comments · May be fixed by #26886
Labels
partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@lendres
Copy link

lendres commented Dec 30, 2024

Description

When programmatically adding MenuFlyoutItems to MenuFlyoutSubItems they are not visible. There doesn't seem to be a Visible property or another way to make them visible.

  • This was tested on Windows.
  • This was tested on Maui versions 8 and 9.
  • The items seem to be added, but they are not visible. You can list them and remove them after they have been added.
  • According to this blog this works on MacOS but special handling is required.

Steps to Reproduce

  1. Run the example, and observe that the menu items are as below.
    Image
  2. Click Add Fly Out Item and Add Fly Out Sub Item.
  3. Observe that a new MenuFlyoutItem (Added Item) is added under the MenuBarItem Menu Flyout Item.
  4. Observe that the MenuFlyoutItem Added Sub Item under the MenuFlyoutSubItem Flyout is not visible. It does seem to be created. Listing all the items contain in Flyout shows it is present (see the Debug output).
    Image

Link to public reproduction project repository

https://github.com/lendres/Maui-Programmicly-Adding-Menus

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

Windows 10.0.19045

Did you find any workaround?

None is known.

Relevant log output

@lendres lendres added the t/bug Something isn't working label Dec 30, 2024
@ninachen03 ninachen03 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed platform/windows 🪟 labels Dec 30, 2024
@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
3 participants