[Android] Line breaks not occurring when pressing Enter in Entry configured as multiline, even with ImeOptions set to None. #25952
Labels
area-controls-entry
Entry
platform/android 🤖
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
In .NET MAUI, pressing the "Enter" key in the Entry field does not produce a line break by default. Although platform-specific workarounds have been implemented to enable multiline behavior, this functionality fails on certain Samsung Android devices, including the Samsung F14, Samsung Galaxy S8+ Tablet, Samsung Galaxy Active Tab 3, and Samsung Galaxy Fold 6.
It is suspected that, on these devices, the "Enter" key triggers the "Done" or "Send" action instead of inserting a line break. Even after setting ImeOptions to None, the expected line break functionality does not work when the "Enter" key is pressed.
Steps to Reproduce
1.Create a .NET MAUI application with an Entry field intended to support multiline input.
2.Apply platform-specific configurations to enable multiline behavior, including setting ImeOptions to None for Android.
3.Deploy the application to the following Samsung Android devices:
4.Focus on the Entry field and press the "Enter" key on the keyboard.
5.Observe whether a line break occurs in the Entry field.
Link to public reproduction project repository
No response
Version with bug
.NET 8.0
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: