File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
src/Uno.UI/UI/Xaml/Controls/TextBox Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1159,6 +1159,15 @@ protected override void OnTapped(TappedRoutedEventArgs e)
11591159
11601160 partial void OnTappedPartial ( ) ;
11611161
1162+ partial void OnKeyDownPartial ( KeyRoutedEventArgs args ) ;
1163+
1164+ protected override void OnKeyDown ( KeyRoutedEventArgs args )
1165+ {
1166+ base . OnKeyDown ( args ) ;
1167+
1168+ OnKeyDownPartial ( args ) ;
1169+ }
1170+
11621171 private protected override void OnPostKeyDown ( KeyRoutedEventArgs args )
11631172 {
11641173#if __SKIA__
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ private void UpdateScrolling(bool putSelectionEndInVisibleViewport)
434434 }
435435 }
436436
437- protected override void OnKeyDown ( KeyRoutedEventArgs args )
437+ partial void OnKeyDownPartial ( KeyRoutedEventArgs args )
438438 {
439439 // This is a minimal copy of OnkeyDownSkia that just sets args.Handled without doing any work.
440440 // This is to match WinUI behavior where Handled is set for certain keys before public
You can’t perform that action at this time.
0 commit comments