Skip to content

Commit e0552f9

Browse files
authored
Removed comment to move to PR description
1 parent 2bc5467 commit e0552f9

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

StabilityMatrix.Avalonia/Controls/FADownloadableComboBox.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,6 @@ private void OnDropDownOpenedHandler(object? sender, EventArgs e)
5151
if (scrollViewer == null)
5252
return;
5353

54-
// On Linux, FAComboBox popups are rendered as overlay popups that share the
55-
// same TopLevel visual root as the main window. FAComboBox.OnPopupOpened adds
56-
// a TopLevel tunnel handler that marks ALL pointer-wheel events as handled
57-
// (when dropdown is open and source.VisualRoot == TopLevel) to prevent parent
58-
// ScrollViewers from stealing the event. The side-effect is that the popup's
59-
// own internal ScrollViewer also never receives the event.
60-
//
61-
// Fix: add our own tunnel handler directly on the popup ScrollViewer
62-
// (which runs after the TopLevel handler in tunnel order) that resets
63-
// e.Handled = false, allowing the ScrollViewer's normal bubble handler
64-
// to process the scroll and move the dropdown list.
6554
openSubscription = scrollViewer.AddDisposableHandler(
6655
PointerWheelChangedEvent,
6756
static (_, ev) =>

0 commit comments

Comments
 (0)