I’m developing a .NET MAUI Blazor application, and I’m facing an issue on iOS devices when an input field (e.g., a text box) is focused. As soon as the soft keyboard appears, my entire Blazor page becomes scrollable, including elements that should stay fixed (like a footer). This results in the entire page getting pushed up and allowing the user to scroll everything around—something I’d like to prevent. • I’ve already tried AdjustsForKeyboard = false; in my CreateWindow method, which is supposed to disable automatic keyboard panning on iOS, but the page still scrolls within the BlazorWebView. • I also attempted various CSS tricks (e.g., overflow: hidden; on html, body) to stop scrolling, but iOS still scrolls everything whenever the keyboard is active and an input field is in focus. • In Android, the behavior is correct by default—no unwanted scrolling happens. It’s specifically an iOS WebView issue.
Is there a way to completely disable the automatic scrolling behavior inside the BlazorWebView on iOS, so that the page remains in place and doesn’t get pushed up when the keyboard opens? Are there any .NET MAUI or iOS-specific settings, or perhaps JavaScript/CSS workarounds that others have successfully used to prevent this?
Thanks in advance for any insights!