Xamarin.Forms icon indicating copy to clipboard operation
Xamarin.Forms copied to clipboard

[Bug] Keyboard disappears immediately when tap on an entry in Android 11

Open VikramDevaraj31 opened this issue 3 years ago • 1 comments

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

  1. Run the attached sample (In android 11)
  2. Tap on the 1st entry.
  3. 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

Sample.zip

Workaround

No

VikramDevaraj31 avatar Nov 02 '22 06:11 VikramDevaraj31

I too have the same problem. Did you solve it?

LISPos avatar Feb 15 '24 23:02 LISPos