SwiftUIPager icon indicating copy to clipboard operation
SwiftUIPager copied to clipboard

[FEAT] Ability to not clip children

Open natario1 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I'm working on an UI with a vertical list where each item is a horizontal Pager. Each pager contains images that are zoomable with a pinch gesture, and when zoom grows, the image is supposed to be drawn outside of the pager boundaries. Think of the Instagram feed, when the post is a carousel of images.

Describe the solution you'd like An option to remove the clipped() modifier that pager applies by default. I removed it in a local clone and it works very well. Of course it wouldn't work in all scenarios, so this should be a configurable option I guess.

Describe alternatives you've considered None.

Additional context Thanks for your work! My experience with this library has been very smooth.

natario1 avatar Sep 11 '23 19:09 natario1

I also want an option to disable clipped() for card flip animation. The cards are clipped vertically when flip.

brstorm-jonghyunlee avatar Apr 22 '24 08:04 brstorm-jonghyunlee