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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.