-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Black bar is showing at the bottom of the screen while connecting the external keyboard. #15816
Comments
this is just a duplicate of [Bug] Black bar is showing at the bottom of the screen while connecting the external keyboard |
No. It is different. #15812. I am facing the issue while focusing the entry there is black bar is showing bottom of the screen. Please check the screenshot. They wrongly mentioned in the entry. The issue not from the entry control it is from connecting the keyboard. Whenever I focusing the entry from the external keyboard there is a black screen is appearing in the bottom of the screen. |
no, they're the exact same bug, with the same title, same description, same steps to reproduce, same screenshots, same repro project link, everything is the same. |
Yes. I just created the same. Previously, my actual issue not addressed so created the same in another ticket. I want the solution or workaround for black screen issue at the bottom of the screen. |
Can anyone help me on this? |
Hey, isn't this just a virtual keyboard without input buttons? I believe that you can try to hide keyboard or look at device settings for an option to disable it. I believe that this might help or at least is great place to start (SO - Hide keyboard when entry is focused in XF | SO - Hide the android soft keyboard programmatically), but you will propably need to create Android Renderer (base class Entry/EntryRenderer). Just remember to only hide, focus will be still required for input. May be relevant too: |
Sorry, it seems I misunderstood your initial issue. You might want to try playing with this: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/platform/android/soft-keyboard-input-mode Or as @Domik234 pointed out, a setting on Android might be at play here as well. When you search for "Android keyboard black bar bottom" there are a lot of hits that also seem to specifically mention Android 10. |
Hi @jfversluis @Domik234 It is working while focusing the entry but keyboard again showing while start typing. |
Can you provide any workaround for this? |
I tried to figure it out universally but this is OS specific behaviour. I believe that there is no chance that Microsoft/Xamarin/MAUI Team can help you to override this but maybe you are. I was able to hide it using the code until making a change - every change (character, space, etc..) pushed it up for a while (because of repeatedly calling to hide) but only tested on emulator devices. When I tried to use "InputType -> None" then there was no cursor but the black bar was hidden and I was able to enter text. ¯\(ツ)/¯ Your device and peripherals can act differently so there is need of experimenting on your specific device. Many manufacturers are manipulating with the code of specific functions and then it breaks or acts differently than on the origin purpose. I see only 4 ways (better to say ideas) how to solve this:
I'm not sure how you feel about this situation @jfversluis but I believe that without connection to the .NET, Xamarin (Forms) or MAUI we are not able to help more and this issue can be closed. |
Description
Black bar is showing at the bottom of the screen while connecting the external keyboard.
Not entry bottom line i am mentioning the screen bottom.
Steps to Reproduce
Expected Behavior
Black bar should not be shown while connecting the hardware keyboard.
Actual Behavior
Black bar should not be shown while connecting the hardware keyboard.
Hint
This not occurred in Android 9 it is only from Android 10.
Basic Information
Version with issue: 5.0.0.2012
Affected Devices: Android 10( ALMEX device)
Environment
Show/Hide Visual Studio info
Screenshots
Before focusing the entry
After focusing the entry.
Reproduction Link
Keyboard_BlackBar.zip
Workaround
It will be work in Android 9.
The text was updated successfully, but these errors were encountered: