Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.2f1
2019.1.0a1
2019.2.0a3
Issue ID
1120687
Regression
No
Object's RectTransform with ContentSizeFitter isn't scaled when UI elements are enabled/disabled via a Toggle
How to reproduce:
1. Open the attached project ("Case_1120687 Scrollview.zip")
2. Enter Play Mode
3. In the Game View click Toggle to disable the bottom two images
4. Observe the "Canvas" -> "Scroll View NOT OK" -> "Viewport" -> "Content" RectTransform and the Slider in the Game View
Expected result: The slider is no longer visible and the RectTransform's Heigh is lowered
Actual result: The slider is still visible and the RectTransform's Heigh is the same (245.96)
Reproduced in: 2019.2.0a3, 2019.1.0b1, 2018.3.3f1, 2017.4.19f1
Note: Manually disabling/enabling the Image objects scales the RectTransform and the slider properly
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.