Issue created by Vicky V as Bitbucket Issue #260 on 2018.08.13 18:17.
I am having an issue with FullScreenScrollSnap example scene. If I scroll to the last page and rotate the device or change the resolution in the editor, the elements will end up off screen due to Content object being sized incorrectly.
As a temporary fix, I had to modify the DistributePages function in HorizontalScrollSnap script, and it seems to be solving the problem for now: I added panelDimensions = gameObject.GetComponent().rect; to the start of the function and _screensContainer.offsetMin = new Vector2(0, 0f); to the end of it.
My Unity version is 2018.2.0f2
Issue created by Vicky V as Bitbucket Issue #260 on 2018.08.13 18:17.
I am having an issue with FullScreenScrollSnap example scene. If I scroll to the last page and rotate the device or change the resolution in the editor, the elements will end up off screen due to Content object being sized incorrectly.
As a temporary fix, I had to modify the DistributePages function in HorizontalScrollSnap script, and it seems to be solving the problem for now: I added panelDimensions = gameObject.GetComponent().rect; to the start of the function and _screensContainer.offsetMin = new Vector2(0, 0f); to the end of it.
My Unity version is 2018.2.0f2