Skip to content

Commit a78a3ff

Browse files
committed
Update TouchBehavior.android.cs
1 parent 12adc49 commit a78a3ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CommunityToolkit.Maui/Behaviors/PlatformBehaviors/Touch/TouchBehavior.android.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ void OnKeyPressed(object? sender, AView.KeyEventArgs e)
126126
IsCanceled = false;
127127
HandleTouchEnded(TouchStatus.Completed);
128128
}
129+
130+
// This ensures that native focus navigation and keyboard input flow are preserved
131+
e.Handled = false;
129132
}
130133

131134
void OnClick(object? sender, EventArgs args)

0 commit comments

Comments
 (0)