Skip to content

[Skia] Transient flyouts swallow the input that dismisses them #25080

Open

Description

@MartinZikmund

Current behavior 🐛

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) 🔬

  1. Skia desktop/Android, a TextBox with some text.
  2. Touch-tap a word twice so the selection flyout opens.
  3. Tap another word in the same TextBox.
  4. Uno: the flyout closes, the caret does not move. WinUI: the flyout closes and the tap is processed by the TextBox.

Workaround 🛠️

None.

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

Android, iOS, Windows, macOS, Linux, WebAssembly (Skia)

Uno.Sdk version (and other relevant versions) 📦

master

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

Related: #12681. The port was originally part of the RichEditBox PR #23924 and is being split out.

Activity

  1. added
    kind/bug
    triage/untriaged
    7.1
    on Oct 7, 2026
  2. removed
    7.1
    on Oct 29, 2026
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

    kind/bugtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions