xamarin/Xamarin.Forms

Keyboard closing for Entry control on every key stroke in iOS

Open

#4,397 opened on Nov 14, 2018

 (18 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
3.0.0e/5 :clock5:help wantedi/regressionp/iOS 🍎up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

In some Entry fields the keyboard is closing on every key stroke. This problem was introduced since Xamarin Forms 3.0. So in 2.5 this problem didn't occur.

The problem only occurs when the controls are in a TableView.

This problem only occurs in iOS, not Android (afaik). I've tested in iOS 12.0, 12.1.

Steps to Reproduce

Use the attached test project.

On an iPhone SE screen size, the problem occurs in entry field number 10 and 11, at least in my test scenario. If you use an other iPhone with a larger screen size, like XR, the problem occurs in other Entry controls, lower in the screen (> control no. 11).

Expected Behavior

Keep the keyboard open.

Actual Behavior

Keyboard closed on every key stroke.

Basic Information

  • Version with issue: From XF 3.0, also in latests pre-release (3.4).

  • Last known good version: Xamarin Forms 2.5.

  • IDE:

  • Platform Target Frameworks:

    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:

  • Nuget Packages:

  • Affected Devices:

Screenshots

Reproduction Link

TestEntryKeyboard.zip

Contributor guide