SlideMenuControllerSwift icon indicating copy to clipboard operation
SlideMenuControllerSwift copied to clipboard

Drawer not hiding issue

Open SwapnilDhotre opened this issue 7 years ago • 2 comments

Hi, I have implement drawer on both sides. When my app starts in portrait mode and then I present a view controller(not by opening any of the drawer) after that when I am rotating device in Landscape and dismissing view controller it automatically shows right drawer on which drawer is implemented.

SwapnilDhotre avatar Apr 07 '17 07:04 SwapnilDhotre

i have the same issue

alexookah avatar Dec 06 '17 12:12 alexookah

function closeRightNonAnimation take size width wrong after willTransition.

my solution:

change closeRightNonAnimation() by closeRightNonAnimation(size: CGSize) let finalXOrigin: CGFloat = view.bounds.width by let finalXOrigin: CGFloat = size.width

and

viewWillTransition self.closeRightNonAnimation() by self.closeRightNonAnimation(size: size)

erolando avatar Jun 07 '18 15:06 erolando