Skip to content

CompletionWindow closes when clicking/dragging the scrollbar thumb #593

@dkuchciak

Description

@dkuchciak

Root cause::
CompletionList.OnPointerPressed calls RequestInsertion on any pointer press without checking whether the press source is actually a ListBoxItem. The original WPF version in icsharpcode/AvalonEdit has this guard but it was not ported to the Avalonia version.

Expected behavior:

Clicking/dragging the scrollbar scrolls the list without closing the popup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions