Skip to content

[Skia] Right click to open context menu does not properly stop bubbling #23440

Closed

Description

@mikernet

Current behavior 🐛

If you have a context menu set on both a parent and child element (for example something like file explorer - you can right click on both a file/folder or an empty area to get the context menu for the current folder), then right clicking on a child element opens BOTH the parent and child context menus.

May be related / worth fixing at the same time with click bubbling up as well when it shouldn't during long-press: #22229

Expected behavior 🎯

Only the child context menu should appear when right clicking on a child.

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

No response

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

All platforms 🌍

Uno.Sdk version (and other relevant versions) 📦

6.5.36, 6.5.31

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Activity

  1. added
    triage/untriaged
    on Jun 11, 2026
  2. added theissue type on Jun 11, 2026
  3. self-assigned this
    on Jun 17, 2026
  4. MartinZikmund commented on Jun 17, 2026

    @MartinZikmund
    Member

    @ajpinedam also for this one, the implementation needs to be aligned with WinUI C++ sources

  5. ajpinedam commented on Jun 23, 2026

    @ajpinedam
    Contributor

    Hi @mikernet can you please re-test this issue using one of latest dev version (6.7.0-dev.93 for example) and validate if you can still reproduce it?

  6. mikernet commented on Jun 28, 2026

    @mikernet
    ContributorAuthor

    It does look like the multiple context menu issue has been fixed in latest dev. Does the other linked issue also need to be tested (clicks still passing through on long-press when the context menu is opened - #22229)?

  7. mikernet commented on Jun 28, 2026

    @mikernet
    ContributorAuthor

    Tested on newest dev SDK and the other linked issue remains - long press on mobile on a button with a context menu clicks the button in addition to showing the context menu,

  8. ajpinedam commented on Jun 29, 2026

    @ajpinedam
    Contributor

    Thanks for checking @mikernet . I will investigate the other issue then and close this one once the PR with runtime tests (to avoid regressions) is merged.

  9. reopened this on Aug 7, 2026
  10. removed
    triage/untriaged
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions