.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

Min T 41 Reputation points
2024-04-19T20:56:32.3766667+00:00

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard.

it will only show the soft keyboard if the user physically clicks the edittext field.

this app ran on a scangun type android device (a zebra scanner). this is to allow the field to be immediately be used, if needed, to have data entered by scanning say a barcode. but if the user clicks in the edittext then the soft keyboard pops up to allow manual entry of data.

i started making a maui app and notice i cant seem to hide the keyboard in a similar fashion, as soon as its focused, itll show the keyboard no matter what.

id like to mimic the behaviour from my last app in the maui app, but not sure the right approach for it

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,268 questions
{count} votes