You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flyout.OverlayInputPassThroughElement does not appear to work in WASM #12681
area/popups 💬Categorizes an issue or PR as relevant to popups or flyoutsdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIhas-repro-branchkind/bugSomething isn't workinglow-hanging-🍒Categorizes an issue that might be a quick win with meaningful positive impact.
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)
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
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
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
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.
area/popups 💬Categorizes an issue or PR as relevant to popups or flyoutsdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIhas-repro-branchkind/bugSomething isn't workinglow-hanging-🍒Categorizes an issue that might be a quick win with meaningful positive impact.
Activity
ramezgerges commentedon Jul 10, 2023
This is due to the fact that FlyoutBase.OverlayInputPassThroughElement is not implemented in Uno yet.
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls.Primitives/FlyoutBase.cs#L31C20
[-]Flyout.OverlayInputPassThroughElement does not appear to work in WASM[/-][+]`Flyout.OverlayInputPassThroughElement` does not appear to work in WASM[/+]ramezgerges commentedon Apr 22, 2024
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
OverlayPassthroughElementMartinZikmund commentedon Apr 13, 2026
Repro generator
Existing Selenium tests on master already cover the exact reported scenario on WASM:
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/Flyout/Flyout_OverlayInputPassThroughElement.xaml(test idUITests.Shared.Windows_UI_Xaml_Controls.Flyout.Flyout_OverlayInputPassThroughElement)src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/FlyoutTests/UnoSamples_Tests.Flyout_OverlayInputPassThroughElement.csFlyoutTest_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 exactFlyout.OverlayInputPassThroughElementpass-through behavior described in the report.