danielsaidi / ScrollKit

ScrollKit is a SwiftUI SDK that adds powerful scroll features, like offset tracking and a header view that stretches & transforms as you pull down, and sticks to the top when you scroll.
MIT License
668 stars 24 forks source link

ScrollViewWithStickyHeader doesn't scroll on iPad #4

Open andreivladmatei opened 1 year ago

andreivladmatei commented 1 year ago

After successfully implementing ScrollKit on iPhone, when trying to test it on iPad, I found that half of the screen becomes un-scrollable when using an image as a header.

Attached is a video done using the code from the demo app

https://user-images.githubusercontent.com/19395668/231439455-6e079576-2cfe-485e-a060-8baca1846248.mov

This happens in both portrait and landscape modes, but it's more obvious in landscape with larger header heights.

danielsaidi commented 1 year ago

Hi @andreivladmatei

Thanks for reporting this - I'll take a look! 🙏

danielsaidi commented 9 months ago

I lost track of this, but looked at it now. This sure needs tweaking on iPad.

danielsaidi commented 3 months ago

There are some UI glitches on iPad still, that can be reproduced in ScrollViewWithStickyHeader by switching to iPad.

However, the Spotify+PreviewScreen preview doesn't show these defects, which leads me to wonder if it's the tab view that causes the glitches.