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.
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.