-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Maui Blazor] Input overlapped by keyboard #18964
Comments
I am seeing the same thing. It is so frustrating that these keyboard issues are still happening in .NET 8. How can this not be top priority? My main grips is what you reported - as soon as you go to the lower half of the screen you can't see anything because the keyboard covers it and the page doesn't scroll - end result is you can't see what you are typing. It feels like someone just needs to dedicate some time to fix all these keyboard issues so that they can all be put to bed. |
Is there any workaround? |
Looks like they are working on it now: The closest I came to a workaround was binding the height of the parent container to the height of the screen ( Grid HeightRequest={Binding TheHeight}), then when the keyboard shows I subtract 250 from that value. Use the below to detect keyboard showing: #if IOS
#endif Note that the first tap into the editor doesn't work, but subsequent taps do, so it's not a perfect workaround but the closest I have got after a week working on it! |
Found a workaround here - |
Verified this issue with Visual Studio 17.10.0 Preview 3(8.0.3 &8.0.7&8.0.20). Can repro on android platform. |
This doesn't seem to be Blazor related and may very well be the dupe of the linked issue. |
The above code works well if you add in the App.xaml.cs file |
@JeanSebGwak take a look that this: |
Reporting here from my other created issue (that was referred to this issue), On 9 preview 7, on a Pixel 7 API 35 simulator, the issue still persists. I tried this on both my existing app (above) and a brand new 9p7 boilerplate blazor hybrid app where all I did was this in home.razor:
and this in app.xaml.cs:
And if you tap in one of the last text boxes you can easily see the issue reproduce, even in a brand new barebones maui android app. |
Anyone have success to implement that behavior in a .Net Maui Hybrid application? |
This is a very old issue, any updates on this? |
Description
When I tap an input (An InputText for example) near the bottom of the page, the virtual keyboard overlapping it.
Seems it's the same bug mentionned here : #14197
The answer written on August 11 says the issue was fixed, but it seems not.
As the steps to reproduce are really simple, I didn't find useful to provide a reproduction project.
My SDK version is 8.0.100, not 8.0.3 (Didn't have this choice in the dedicated dropdown).
I am on a physical device, Sony Xperia IV Android 13.
Edit : Maybe related to #18041
Steps to Reproduce
1 - Create a new MAUI Blazor project
2 - Add a bunch of InputText in the home page (Home.razor)
3 - Launch the app (I tried on a physical device)
4 - Tap an InputText near the bottom of the page to see the keyboard overlapping it
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 13
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: