mkko / DrawerView

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

Fix/ios 13 #15

Closed mkko closed 4 years ago

mkko commented 4 years ago

Fix issues with the latest iOS version. Without digging into it deeper, at least something has changed with the gesture recognizers. Also for some reason the safe area handling got broken and the initial layout was not taking the bottom safe area into account.

mkko commented 4 years ago

Cool, I'll merge this.

My guess is that there are some new built-in gesture recognizers in iOS 13. If they don't fail, the drawer scroll won't start, which kind of makes sense. The purpose was initially to be prepared for gesture recognizers that work parallel with drawer pan, but in hindsight it wasn't really a future-proof idea.