Xamarin.Forms
Xamarin.Forms copied to clipboard
[Bug] Keyboard disappears immediately when tap on an entry in Android 11
Description
We are developing a Pdfviewer control, and one of its features is support for rendering different form fields from documents. Up to Android 10, the keyboard displays correctly when you tap on an Text form field(EditText). However, after that, whenever you tap on an EditText field, the keyboard instantly appears and vanishes. One of the more serious problems our consumers are dealing with is this one. If you have any solutions or workarounds for this, kindly let us know.
Note: We are constructing our own text form field under our control by inheriting the EditText, however we are unable to share that example. However, the same exact issue can be reproduce with the attached customerRenderer of the entry itself.
Steps to Reproduce
- Run the attached sample (In android 11)
- Tap on the 1st entry.
- Now tap on the 2nd entry without deselect the 1st entry.
Expected Behavior
The keyboard should not disappear when focusing on the entry
Actual Behavior
The keyboard disappears when focusing on the entry.
Basic Information
- Version with issue: 5.0.0.2012.
- Platform Target Frameworks:
- Android 11
- Affected Devices: Android 11
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
https://user-images.githubusercontent.com/93317001/199414494-285076f5-e182-40e7-ac0a-2d37f8227950.mp4
Reproduction Link
Workaround
No
I too have the same problem. Did you solve it?