EdgeScrollEffect is not behaving as expected in 27 beta 8 and RC1

Hi!

I was checking around for any reports related to an issue with UIScrollEdgeElementContainerInteraction and the scroll edge effect.

I have a UICollectionView with a view pinned at the top, using the .hard style for the top UIScrollEdgeEffect. This was working fine in previous iOS betas (adding the effect to the whole view that was pinned), but in the latest beta and the RC1 the edge effect is no longer applied when I add a UIScrollEdgeElementContainerInteraction to the view.

Has anyone else experienced this?

I’m wondering if this is a regression in the interaction between UIScrollEdgeElementContainerInteraction and UIScrollEdgeEffect, or if there is a new requirement for how the interaction needs to be configured.

Hi,

Thanks for asking. The entire frame of the view to which the container interaction is attached should contribute to the size of a hard scroll edge effect.

Can you provide more details about your view hierarchy and how you're setting up the interaction or, if possible, a sample project that reproduces the issue?

Thanks!

EdgeScrollEffect is not behaving as expected in 27 beta 8 and RC1
 
 
Q