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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Element name field has no character limit in UI Builder
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
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