Skip to content

Flyout.OverlayInputPassThroughElement does not appear to work in WASM #12681

Description

@jsinsel-kahua

Current behavior

Set up a button with a flyout with OverlayInputPassThroughElement set to the view. This way the user can click on another button even with the flyout open. This works in WinUI, but not in WASM.

Expected behavior

OverlayInputPassThroughElement works in WASM

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

Attaching a repro.
FlyoutPassThrough.zip

Workaround

No response

Works on UWP/WinUI

Yes

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

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on Jun 22, 2023
  2. pinned this issue on Jun 22, 2023
  3. unpinned this issue on Jun 22, 2023
  4. ramezgerges commented on Jul 10, 2023

    @ramezgerges
    Contributor
  5. added
    difficulty/medium 🤔
    area/popups 💬
    and removed
    difficulty/tbd
    triage/untriaged
    on Jul 10, 2023
  6. changed the title [-]Flyout.OverlayInputPassThroughElement does not appear to work in WASM[/-] [+]`Flyout.OverlayInputPassThroughElement` does not appear to work in WASM[/+] on Sep 19, 2023
  7. added
    low-hanging-🍒
    on Sep 19, 2023
  8. ramezgerges commented on Apr 22, 2024

    @ramezgerges
    Contributor
    2024-04-22.22-31-55.mp4

    It seems only PointerPressed is passed through (on skia and wasm) while PointerMoved events (and others) are not. This blocks MenuBar's "cycling between menus" behaviour (see also #13918, #14290) which depends on OverlayPassthroughElement

  9. added theissue type on Jul 30, 2025
  10. MartinZikmund commented on Apr 13, 2026

    @MartinZikmund
    Member

    Repro generator

    Existing Selenium tests on master already cover the exact reported scenario on WASM:

    • Sample: src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/Flyout/Flyout_OverlayInputPassThroughElement.xaml (test id UITests.Shared.Windows_UI_Xaml_Controls.Flyout.Flyout_OverlayInputPassThroughElement)
    • Test fixture: src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/FlyoutTests/UnoSamples_Tests.Flyout_OverlayInputPassThroughElement.cs
      • FlyoutTest_When_OverlayInputPassThroughElement_Then_PassThrough[withOn|withOff|withAuto]
      • FlyoutTest_When_NoOverlayInputPassThroughElement_Then_DontPassThrough[woOn|woOff|woAuto]

    Both fixtures are pinned to [ActivePlatforms(Platform.Browser)] (WASM). No additional branch is necessary — these tests exercise the exact Flyout.OverlayInputPassThroughElement pass-through behavior described in the report.

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

    area/popups 💬difficulty/medium 🤔has-repro-branchkind/buglow-hanging-🍒

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions