Search Issue Tracker
Fixed in 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1
Votes
1
Found in [Package]
2.1.0-preview.1
Issue ID
1355067
Regression
Yes
A new line gets appended after pressing Enter when the Line Type of an InputField (TMP) is set to 'Multi Line Submit'
How to reproduce:
1. Open the user's attached project
2. Open the SampleScene
3. Enter the Play mode
4. Enter something into the text field
5. Press Enter
6. Focus the text field
7. Press the down arrow
Expected result: No new line gets appended
Actual result: A new line gets appended
Reproducible with: TextMeshPro 2.1.0-preview.1 (2019.4.10f1), 2.1.6 (2019.4.29f1), 3.0.6 (2020.3.15f2, 2021.1.16f1, 2021.2.0b6, 2022.1.0a4)
Not reproducible with: TextMeshPro 2.0.1 (2019.4.10f1)
Comments (1)
-
matbog
Mar 14, 2024 12:38
Still exists in Unity 2022.3 LTS.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 1.6.0-preview.1, 2.2.0-preview.1, 3.2.0-preview.1):
Fixed in: 1.6.0-preview.1 (2018.4.36f1), 2.2.0-preview.1 (2019.4.32f1), 3.2.0-preview.1 (2020.3.22f1)