Ramotion / expanding-collection

:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion
https://www.ramotion.com/smartphone-app-development-ui-library-to-peek-and-pop-cards/
MIT License
5.55k stars 530 forks source link

Catering for Multiple Screen Sizes #48

Open yumsmools opened 7 years ago

yumsmools commented 7 years ago

Hi there

First off thanks for a great component.

I need to cater for multiple screen sizes so I have to set the itemSize based on the device type. This works well. However, the change does not filter down to the shadow and as a result. I get an oversized shadow. I've been through the demo and the code and there doesn't seem to be a way to redraw/cater for the shadow.

Please help

Imran

RayanSaeed commented 7 years ago

@yumsmools Did you solve the problem at any point? Also how to cater the UICollectionView size for different screens, it's overlapping my UIElements at the top of the screen hence making them un-tappable.

0ber commented 6 years ago

Shadow size depends on FrontContrainerView height and width constraints.

yumsmools commented 6 years ago

Hi there

Sorry for the delay in getting back to you.
No we actually went with a custom built solution.

Imran

avaniaspiration commented 3 years ago

@yumsmools Did you find any solution regarding this issue?