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
[Skia] Transient flyouts swallow the input that dismisses them #25080
A flyout shown with ShowMode = Transient (or TransientWithDismissOnPointerMoveAway) swallows the pointer press that dismisses it. For example, with the TextBox touch selection flyout open, tapping elsewhere in the TextBox (or a Button underneath) only closes the flyout; the tap never reaches the element below.
Also, an app-set FlyoutBase.OverlayInputPassThroughElement that is not an ancestor of the flyout's placement target is ignored by FlyoutPopupPanel.
Expected behavior 🎯
Match WinUI: FlyoutBase::SetPopupLightDismissBehavior (FlyoutBase_partial.cpp) sets OverlayInputPassThroughElement to the root visual for transient show modes, so input on the light-dismiss overlay both dismisses the flyout and reaches the element underneath. An explicitly set pass-through element is honoured.
How to reproduce it (as minimally and precisely as possible) 🔬
Skia desktop/Android, a TextBox with some text.
Touch-tap a word twice so the selection flyout opens.
Tap another word in the same TextBox.
Uno: the flyout closes, the caret does not move. WinUI: the flyout closes and the tap is processed by the TextBox.
Activity