Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X, 2022.1.X

Votes

5

Found in

2019.4

2020.3

2021.2

2021.2.17f1

2022.1.0b10

Issue ID

1415962

Regression

Yes

[iOS] Caret is getting placed in the middle of a text when typing quickly when Input Field's "Hide Mobile Input" is on

iOS

-

How to reproduce:
1. Open project "bug-ios-inputfield-caret.zip"
2. Go to the Build Settings, select iOS, and deploy the app to the device
3. In the app focus on the Input Field and write any text fast
4. Observe the Input Field

Expected result: Caret is placed after the text
Actual result: Caret keeps getting placed in the middle of a text

Reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.19f1, 2022.1.0b10, 2022.1.0b14
Not reproducible with: 2022.1.0a1, 2022.1.0b9, 2022.2.0a1, 2022.2.0a9

Reproduced with:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS

Notes:
-Not reproducible if "Hide Mobile Input" is turned off
-When deleting text the same issue occurs

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a12

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.1f1

  3. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.3f1

Comments (3)

  1. mradel

    May 27, 2022 22:31

    This is still reproduced in Unity 2020.3.35f1, but not in unity 2020.3.30f1. Is there any plan to add the fix to the next Unity2020 LTS version?

  2. artoonie

    Apr 21, 2022 14:29

    Hopefully the fix will make it into the next Unity versions, but for future travelers looking for more information:

    The bug seems to have been caused here:
    https://issuetracker.unity3d.com/issues/spaces-before-text-in-the-input-field-are-being-deleted-when-closing-the-keyboard-by-pressing-the-ok-button-on-android-devices

    So find the latest Unity version which does not have this fix. For 2020.3, that's 2020.3.30f1 does not have this bug.

  3. artoonie

    Apr 21, 2022 13:37

    I am having this issue, but it is not resolved by turning off Hide Mobile Input.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.