Skip to content

ListBox: In multi-select mode, right-clicking an unselected item will clear all selected items and select only the item you right-clicked on. #22320

Description

@Poker-sang

Describe the bug

In multi-select mode, right-clicking an unselected item will clear all selected items and select only the item you right-clicked on.

To Reproduce

Image

Expected behavior

Following the example of frameworks like WinUI: Neither deselect the currently selected item nor select the right-click menu item

Avalonia version

12.1.3

OS

Windows

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions