Search Issue Tracker

Won't Fix

Votes

0

Found in

5.5.0b11

Issue ID

852013

Regression

No

Turning on 'Preferred Size' in Content Size Fitter prevents the text from showing up

UI

-

If 'Preferred Size' (on Horizontal Fit) is set in Content size fitter and no text is entered to a text field before pressing play, the text doesn't show up when typing in play mode (gif 'Result A'). If some text is entered before pressing play, only the first letter is shown when text is entered during play mode (gif 'Result B').

Reproduction steps:
1. Open the attached file 'inputField_contentFitter';
2. Enter Play mode;
3. Find the object 'Result A' and write some text in the Input field from Inspector;
4. Leave Play mode;
5. Hide the object 'Result A' and show the object 'Result B';
5. Enter Play mode;
6. Find the object 'Result B' and write some text in the Input Field from Inspector;

Actual result: in the first case, the text doesn't show. In the second case, the first letter of the text shows up.
Expected result: in both cases, the text should show up.

Reproduced with: 5.3.6p3, 5.4.2f2, 5.5.0b11, 5.6.0a3.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.