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
- Look Dev window flickers when resizing the window after docking it
- UI breaks when Multiplayer Center window section divider is moved too far
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
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