ITRAirSideMenu icon indicating copy to clipboard operation
ITRAirSideMenu copied to clipboard

Side menu doesn't maintain its position and size

Open Shayeeb opened this issue 7 years ago • 3 comments

I have implemented ITRSideMenu and it works flawless except in one case.I need to open Google Maps from my app for navigation purposes and after opening it, when i come back to my app the side menu doesn't maintain its position and size.It keeps shrinking when i come back to my app after every opening of Google maps app and goes off completely after few iterations.Please have a look at the screenshots.It doesn't happen when i open facebook or twitter app from my app.Its only for Google Maps and thus may be related to location because when i come back i have that blue bar showing on the top of my app for a second or two which means Google maps is using your location.May be that is causing some issue with side menu.Please help as this is a major bug. img_0301 img_0302 img_0303

Shayeeb avatar Sep 08 '16 06:09 Shayeeb

same problem happening to me when i load a video ad and comes back to the app, and enter the side menu, it gets shrink img_0447 img_0444

hrishikeshnewage avatar Nov 04 '16 13:11 hrishikeshnewage

@hrishikeshnewage @Shayeeb Any solution for this?

vaibhav-varshaaweblabs avatar Sep 22 '18 07:09 vaibhav-varshaaweblabs

if let menu = Utils.getITRAirSideMenu() { menu.leftMenuViewController.view.frame = self.view.bounds menu.presentLeftMenuViewController() }

Inside the menu tapped(hamburger button) function set the frame of the leftMenuViewController again and after that present the menu. It is working for me.

devsachinsingh avatar Sep 22 '20 04:09 devsachinsingh