mkko / DrawerView

A drop-in view, to be used as a drawer anywhere in your app
MIT License
374 stars 57 forks source link

CollectionView scrolls to top when I open the drawer #5

Closed cosmicsalad closed 3 years ago

cosmicsalad commented 5 years ago

So I'm using the drawer as a "Settings" view, and it is pulled up over a CollectionView. When I open the Settings drawer, if I had scrolled at all in the CollectionView beforehand, it scrolls it back to the top. Any way to fix this?

mkko commented 5 years ago

Hi. This definitely sounds like a bug and ought to be fixed.

So you mean that if drawer is displayed on top of a collection view (or any scroll view?), the scroll view under the drawer scrolls back to the top because of the drawer being displayed? As far as I know, the drawer shouldn't intervene anything outside its subviews. Any chance you'd have a reproducible example project for this?

mkko commented 3 years ago

Please, let me know if this issue is still valid. I'm closing this for now.