Search Issue Tracker

Fixed in 2021.3.31f1

Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 2023.3.0a5

Votes

0

Found in

2021.3.27f1

2022.3.2f1

2023.1.0f1

2023.2.0a15

2023.3.0a4

Issue ID

UUM-40352

Regression

No

ScrollView produces jittery animation when playing PostPointerUpAnimation

UI Toolkit Controls

-

In line 1574 of “ScrollView.cs” (https://github.com/Unity-Technologies/UnityCsReference/blob/2023.2/ModuleOverrides/com.unity.ui/Core/Controls/ScrollView.cs#L1559)) PostPointerUpAnimation is executed every 30ms (schedule.Execute(PostPointerUpAnimation).Every(30)) which produces jittery animation.

The user suggested changing “.Every(30)” into “.Until(() => false)” which would execute animation every frame and produce far better results.

Reproducible with: 2023.2.0a15 (by the reporter)

Reproducible on: Windows 10 (by the reporter)

Notes:

- Not reproduced by CQA

- Forums mentioning the issue: https://forum.unity.com/threads/scrollview-has-a-few-bugs.1162652/, https://forum.unity.com/threads/scrollview-value-changed-callback.1441750/#post-9048712

  1. Resolution Note (fix version 2023.2):

    Fixed UUM-40352 @laila-chammaa:
    UI Toolkit: Fixed ScrollView produces jittery animation when playing PostPointerUpAnimation.

Add comment

Log in to post comment