Search Issue Tracker
Fixed in 5.3.0
Votes
8
Found in
5.2.1p1
Issue ID
732320
Regression
Yes
Caret's vertical alignment doesn't work
Repro steps:
1) Open the project and test scene
2) Play the scene and select the InputField and write some text
3) Notice that the caret is not vertically aligned as text is
Comments (3)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
DanAmato
Oct 06, 2015 21:06
I observed this issue when testing my scene in the editor's player. I was also able to reproduce it in a test scene that only contained the InputField.
At first, the caret was not visible at all. By changing the pivot of the "InputField Input Caret" child game object to (0, 0), I was able to get the caret visible, although offset to the left and down. I tried adjusting the pivot (in the editor), and also the rect transform's anchoredPosition (in script) slowly to bring the caret back towards the input field, but as soon as the caret would intersect the input field, it stopped rendering. This makes it so that I can never get the caret inside the actual text input field's bounds. I also tried changing the z value of the input caret to see if I could get it to draw on top of the input field, but this did not help either.
begemot
Oct 03, 2015 13:54
Me too. On OSX no caret in input field.
KaptajnVom
Oct 02, 2015 06:47
On OS X I don't see the caret at all.
I see all the same issues as described in http://issuetracker.unity3d.com/issues/caret-does-not-appear-in-the-input-field-and-cannot-select-the-text