Open GresiRoost opened 10 years ago
@GresiRoost I am trying to figure out how to interact with the center view while drawer is open. Could you guide me please? Do you manually intercept touch events or is this available on MMDrawerController itself?
Plus one form me I would love to have this as an option for the iPad/6 Plus.
interested in this too. any ideas?
+1. resizing wanted! :p
I forked the repo and implemented a center view resize when the left drawer (only) is configured. You can see it working in my production (free) app here: https://itunes.apple.com/us/app/mars-images/id492852224?mt=8
Is this something you would like to bring in as a feature? If so, I would be willing to finish it out for the general case and submit it as a PR.
I'm also interested in adding animation to the resizing so that it doesn't have to look so jarring when the center view suddenly resizes when you close/open the drawer.
With the new possibility to interact with the center view while the drawer is open and it can be open indefinitely without closing it would make perfect sense to allow the center view to be resized instead of being pushed to the side. On iPhone it doesn't make much sense because of the limited space available but on iPad it would perfect.