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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (2022.1.X):
After talking to team members, we decided that we won't fix this defect.