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
- "Invalid vertex attribute format" error message does not mention "bytes" when the data size is mismatched
- [Windows] About Unity window displays Editor version in two lines instead of one
- [Linux] "Add Component" menu goes under the screen when the menu extends beyond the display boundries
- High Editor GPU usage when Camera with RenderTexture and VFX Graph are in the scene, with Scene/Game tabs closed
- List in Inspector not resizing when exiting Play mode
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