Skip to content

Commit 62a1cd5

Browse files
committed
chore: build error
1 parent fb7a7c1 commit 62a1cd5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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__

src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.skia.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)