Skip to content

TabView windowing sample crashes when re-docking a detached tab #2211

Description

@GastonSg

Which version of the app?

WinUI 3 Gallery

Description

When using the TabView windowing sample in the WinUI Gallery, the app crashes if a tab is dragged out into a new window and then dragged back into the original window without releasing the mouse button.

Steps to reproduce

  1. Open the TabView windowing sample.
  2. Left-click and hold a tab, then drag it outside the window to detach it.
  3. Without releasing the left mouse button, drag it back over the original window.

Actual behavior

The app crashes.

Expected behavior

The tab should dock back into the original window without crashing.

Screenshots

Recording.mp4

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions