FancyScrollView icon indicating copy to clipboard operation
FancyScrollView copied to clipboard

PaddingTop doesn't work when the scrollview is initialized

Open foxgunner opened this issue 3 years ago • 1 comments

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.

foxgunner avatar Aug 15 '20 07:08 foxgunner

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.

RINNUXEI avatar Sep 29 '22 07:09 RINNUXEI