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
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
Resolution Note (2022.1.X):
After talking to team members, we decided that we won't fix this defect.