Search Issue Tracker

By Design

Votes

0

Found in

5.3.2p1

Issue ID

779818

Regression

No

Scroll Rect Content children receive OnRectTransformDimensionsChange callback although their position doesn't change

UI

-

Steps to reproduce:

1. Open attached project "779818.zip"
2. Open scene "test"
4. In hierarchy, expand Canvas and notice that it has Scroll View
5. Inspect Scroll View Content and notice that it has a number of items
6. Run the scene
8. Scroll a little and notice how OnRectTransformDimensionsChange callback spams console. After few seconds of scrolling there're already more than 500 messages

Actual result: Content as well as its children are receiving OnRectTransformDimensionsChange callback

Expected result: Only Content receives this callback. Content items/children don't have their local position changed and therefore shouldn't receive OnRectTransformDimensionsChange callback.

Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4f1, 5.4.0b10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.