Skip to content

HideSoftInputOnTapped doesn't work on Modal Pages #34730

@SebLemmerer

Description

@SebLemmerer

Description

I updated our app to .Net 10 from the last Version of .Net 8
Now I can't tap outside of Entry controlls to close the keyboard anymore, this problem seems to be specifically happening on modal pages.

We use NavigationPage for Navigation.

Only tested on Android, since the app only targets android

Screen_Recording_20260330_075230.mp4

Steps to Reproduce

  1. Create New .Net Maui App
  2. Edit App.xaml.cs CreateWindow to return MainPage as NavigationPage instead of AppShell
  3. Create new Page with Entry Controll, set HideSoftInputOnTapped = "True"
  4. Add Button to MainPage that calls Navigation.PushModalAsync() on the new Page in Clicked Event
  5. Start App
  6. Open the Modal Page
  7. Click into the Entry
  8. Click outside of the Entry

Supposed to happen -> Keyboard closes
What happens -> Keyboard is completely uneffected

Link to public reproduction project repository

No response

Version with bug

10.0.50

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

.NET 8 (Please specify exact version)

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 16, Android 13 (only tested on these versions)

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions