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
- [RenderGraph] Outputs from camera stack override each other when using OpenGLES3 with a custom renderer feature
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
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