Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.1
2019.2.0a1
2019.2.1f1
2019.3.0a1
2020.1.0a1
Issue ID
1178213
Regression
No
UIElementsScrollView.ScrollTo() scrolls to the top of the ScrollView when a child of a child of the Scroll View is passed
How to reproduce:
1. Open the attached project "1178213.zip"
2. Open the sample editor window (Window -> UIElements -> Sample Window)
3. Scroll down until the "Second level child" Button is partially visible in the window
4. Click on the "Second level child" Button
Expected result: The window scrolls so that the Button is completely visible
Actual result: The window scrolls to the very top of the Scroll View
Reproducible with:
2019.1.14f1, 2019.2.2f1, 2019.3.0a12, 2020.1.0a1
Notes:
UIElements were introduced in Unity 2019.1, therefore, the issue is not reproducible in earlier Unity versions.
The issue is not limited to 2nd level children of the Scroll View, it reproduces on more deeply nested children as well.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
Add comment