We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6adc201 + e6a8478 commit 6b6f0c2Copy full SHA for 6b6f0c2
1 file changed
src/TableViewColumnHeader.cs
@@ -257,6 +257,8 @@ protected override void OnApplyTemplate()
257
#else
258
_searchBox.KeyDown += OnSearchBoxKeyDown;
259
#endif
260
+ // Handle Space key to prevent MenuFlyoutItem performing click action.
261
+ menuItem.PreviewKeyUp += static (_, e) => e.Handled = e.Key is VirtualKey.Space;
262
}
263
264
SetFilterButtonVisibility();
@@ -610,4 +612,4 @@ internal void EnsureGridLines()
610
612
/// Gets a value indicating whether the cursor is in the sizing area.
611
613
/// </summary>
614
private bool IsSizingCursor => ProtectedCursor is InputSystemCursor { CursorShape: InputSystemCursorShape.SizeWestEast };
-}
615
+}
0 commit comments