SwiftUIPager icon indicating copy to clipboard operation
SwiftUIPager copied to clipboard

Add Pager clipped property

Open yurihan opened this issue 2 years ago • 2 comments

I found an issue where the top and bottom of the Pager were being clipped by default, causing problems when trying to achieve the effect seen in the video below.

https://user-images.githubusercontent.com/4598443/229994317-7b2700fc-9e5c-460e-8a9e-53ace75cad54.mov

To fix this issue, I added a new property called isClipped to the Pager, which can be set to false to prevent the clipping.

Pager(...).isClipped(false)

https://user-images.githubusercontent.com/4598443/229994359-c02fc82b-8f44-4d14-8c48-098ba1db5c39.mov

yurihan avatar Apr 05 '23 06:04 yurihan

Excellent, I was having the same issue, but with shadows.

AlTavares avatar Apr 11 '23 17:04 AlTavares

Having the same issue, would be nice to have this merged, @fermoya can you review this please?

grdsdev avatar Jul 27 '23 09:07 grdsdev