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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.