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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
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)