Skip to content

Right-clicking an empty TextBox briefly flickers TextCommandBarFlyout #10994

@MartinZikmund

Description

@MartinZikmund

Describe the bug

When right-clicking an empty TextBox in WinUI (while having nothing in clipboard), the flyout of the TextBox briefly flickers on screen and disappears:

20260209-1338-37.5302971.mp4

Why is this important?

It is an odd behavior which is not expected by users.

Steps to reproduce the bug

  1. Open WinUI Gallery and navigate to TextBox sample
  2. Right-click the empty TextBox
  3. Notice the behavior described above

Actual behavior

See video above

Expected behavior

No context menu should appear

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-TextBoxTextBox, RichEditBoxbugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions