Search Issue Tracker
By Design
Votes
0
Found in
2021.3.6f1
2022.1.9f1
2022.2.0b1
2023.1.0a3
Issue ID
UUM-8865
Regression
No
[UIToolkit] ListView elements are selected incorrectly
Reproduction steps:
# Open the user's attached project
# Select the "Show > Me" menu item to bring up the window containing ListView
# Select various list elements at various heights
Expected result: ListView selects elements that are hovered upon by the mouse cursor and does not leave blank space at the bottom
Actual result: ListView selects incorrect elements due to the offset of an element with an altered size and leaves blank space at the bottom
Reproduced with: 2021.3.6f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3
Could not test with: 2020.3.36f1 (ListView window can’t be loaded)
Reproducible on: macOS 12.4 (Intel)
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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note:
The list view is currently set to use the fixed height mode for each row that should be handled by the list view. The height is being overridden in the bind method of the list view by the user, breaking the fixed height contract.
To use variable/dynamic heights, the list view must be set to support dynamic heights like this:
list.virtualizationMethod = CollectionVirtualizationMethod.DynamicHeight;