Scroll Snap not Working Correctly if Scaled

Issue #10 resolved
Beka Westberg repo owner created an issue

Problem Statement

If the scroll snap is scaled, it will not be initialized correctly, and it will not work correctly when scrolled.

Steps to Reproduce.

  1. Create a Directional Scroll Snap. Set looping to true.
  2. Set the root RectTransform's scale along the movement axis to 1.5
  3. Hit play and scroll the scroll snap. Observe how the items move when initialized, and if you scroll the scroll snap the looping is incorrect.

Additional Information

This problem also occures if the content is scaled, rather than the root RectTransform being scaled.

Comments (2)

  1. Log in to comment