- changed status to resolved
Snap Positions Not Being Updated in ArrangeItems [Version 1]
Issue #5
resolved
Problem Statement
It was assumed that items' snap positions would only need to be updated after they are arranged if the content's pivot were offcenter along the movement axis. This is not the case.
Steps to Reproduce
- Create a Directional Scroll Snap with two items.
- Give one item an anchored position of -50 along the movement axis.
- Give the other item an anchored position of 150 along the movement axis.
- Hit play, scroll the scroll snap, and observe how the snap positions are incorrect.
Additional Information
Since it is difficult to calculate when the items snap positions need to be updated and when they do not need to be updated it is recommended to simply remove the checks and always update the items.
Comments (1)
-
reporter - Log in to comment
Fixed with Pull Request #14 (needed to be changed to get looping to work)