Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.2
2021.2.0b3
2022.1
Issue ID
1353776
Regression
No
[UI Toolkit] ScrollView Touch Scroll Type option reverts to 'Clamped' when changing it to other values
How to reproduce:
1. Open the attached project
2. In the project window, locate the 'NewUXMLTemplate'
3. Open it in the UI Builder
4. In the UI Builder window, Select the ScrollView
5. In the UI Builder's Inspector, change 'Touch Scroll Type' to any other value
6. Save the UXML file
7. Check the 'Touch Scroll Type' value
Expected result: Modified value doesn't revert to 'Clamped'
Actual result: Modified value reverts to 'Clamped'
Reproducible with: 2021.2.0b7, 2022.1.0a5
Couldn't test with: 2019.4.29f1 (UI Toolkit is not available), 1.0.0-preview.15 (2020.3.16f1, 2021.1.17f1) (Visual Elements don't have editable components in the UI Builder)
Comments (1)
-
faustofonseca
Nov 30, 2022 16:22
This happens because the argument name "touch-scroll-type" is not the same name as the camel name of the ScrollView's field "TouchScrollBehaviour".
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2022.1.X):
After talking to team members, we decided that we won't fix this defect.