Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PaddingTop doesn't work when the scrollview is initialized #48

Open
foxgunner opened this issue Aug 15, 2020 · 1 comment
Open

PaddingTop doesn't work when the scrollview is initialized #48

foxgunner opened this issue Aug 15, 2020 · 1 comment

Comments

@foxgunner
Copy link

Considering Example 7 Scroll Rect, the PaddingTop property doesn't work as intended when the scrollview is initialized at the start if we set the start index as 0.

It only works if we start scrolling the scrollview or if we set the start index as something other than 0.

Thanks for this wonderful plugin.

@RINNUXEI
Copy link

Yes, we had the same issue.

And we also found that the alignment setting does not work well with padding as we expected.

For example, when alignment is set to Middle, cells above the middle position will not be dragged when there is not enough space above. We expected it should drag the cells as close as possible to the middle of the viewport so the scroller value becomes 0 in this situation.

Is this behavior by design or just a bug?

Great job by the way, this plugin helped we a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants