{"action":"created","issue":{"url":"https://api.github.com/repos/jonkykong/SideMenu/issues/561","repository_url":"https://api.github.com/repos/jonkykong/SideMenu","labels_url":"https://api.github.com/repos/jonkykong/SideMenu/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/jonkykong/SideMenu/issues/561/comments","events_url":"https://api.github.com/repos/jonkykong/SideMenu/issues/561/events","html_url":"https://github.com/jonkykong/SideMenu/issues/561","id":502057504,"node_id":"MDU6SXNzdWU1MDIwNTc1MDQ=","number":561,"title":"Pushing UIViewController from SideMenu sometimes blinks/flashes","user":{"login":"pennywise94","id":7414814,"node_id":"MDQ6VXNlcjc0MTQ4MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7414814?v=4","gravatar_id":"","url":"https://api.github.com/users/pennywise94","html_url":"https://github.com/pennywise94","followers_url":"https://api.github.com/users/pennywise94/followers","following_url":"https://api.github.com/users/pennywise94/following{/other_user}","gists_url":"https://api.github.com/users/pennywise94/gists{/gist_id}","starred_url":"https://api.github.com/users/pennywise94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennywise94/subscriptions","organizations_url":"https://api.github.com/users/pennywise94/orgs","repos_url":"https://api.github.com/users/pennywise94/repos","events_url":"https://api.github.com/users/pennywise94/events{/privacy}","received_events_url":"https://api.github.com/users/pennywise94/received_events","type":"User","site_admin":false},"labels":[{"id":303672296,"node_id":"MDU6TGFiZWwzMDM2NzIyOTY=","url":"https://api.github.com/repos/jonkykong/SideMenu/labels/Bug%20-%20Help%20Wanted!","name":"Bug - Help Wanted!","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-10-03T13:11:07Z","updated_at":"2019-10-10T06:47:53Z","closed_at":"2019-10-03T20:21:36Z","author_association":"NONE","body":"**Describe the bug**\r\nI use SideMenu to show a UITableView with 4 different options for the user to navigate to and another UITableViewCell to log out. This all works correctly, however, since iOS 13, when one of the 4 UIViewControllers is pushed, sometimes a short blink/flash appears right after the UIViewController was shown. I have tried to navigate in other ways outside of SideMenu, and this problem doesn't happen when pushing regularly, making me think the bug is associated with SideMenu.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. I instantiate SideMenu as follows:\r\n```\r\nvar sideMenuManager = SideMenuManager.init()\r\nvar sideMenuController = SideMenuController()\r\n\r\nmenuLeftNavigationController = SideMenuNavigationController(rootViewController: sideMenuController)\r\nsideMenuManager.leftMenuNavigationController = menuLeftNavigationController\r\n                                \r\nmenuLeftNavigationController.menuWidth = max(round(sideMenuWidth), 240)\r\nmenuLeftNavigationController.dismissOnPush = true\r\nmenuLeftNavigationController.statusBarEndAlpha = 0\r\nmenuLeftNavigationController.presentationStyle = .viewSlideOutMenuIn\r\nmenuLeftNavigationController.presentationStyle.presentingEndAlpha = 0.5\r\n\r\nsideMenuManager.addScreenEdgePanGesturesToPresent(toView: navView)\r\n```\r\n2. To push a UIViewController, I use the following code inside my Side Menu ViewController (SideMenuController):\r\n```\r\nlet pushVC = MyCustomViewController()\r\nlet navViewController = self.navigationController\r\nnavViewController?.pushViewController(pushVC, animated: true)\r\n```\r\n3. When the UIViewController shows, most of the time it's OK, but in 1 out of every 5 cases or so, a short blink or flash appears on the screen for a couple of milliseconds.\r\n\r\n**Expected behavior**\r\nBefore iOS 13, this was all working smoothly, without blinks/flashes. Was hoping I was able to go back to the smooth-running pushes."},"comment":{"url":"https://api.github.com/repos/jonkykong/SideMenu/issues/comments/540412638","html_url":"https://github.com/jonkykong/SideMenu/issues/561#issuecomment-540412638","issue_url":"https://api.github.com/repos/jonkykong/SideMenu/issues/561","id":540412638,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDQxMjYzOA==","user":{"login":"jonkykong","id":5727743,"node_id":"MDQ6VXNlcjU3Mjc3NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5727743?v=4","gravatar_id":"","url":"https://api.github.com/users/jonkykong","html_url":"https://github.com/jonkykong","followers_url":"https://api.github.com/users/jonkykong/followers","following_url":"https://api.github.com/users/jonkykong/following{/other_user}","gists_url":"https://api.github.com/users/jonkykong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkykong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkykong/subscriptions","organizations_url":"https://api.github.com/users/jonkykong/orgs","repos_url":"https://api.github.com/users/jonkykong/repos","events_url":"https://api.github.com/users/jonkykong/events{/privacy}","received_events_url":"https://api.github.com/users/jonkykong/received_events","type":"User","site_admin":false},"created_at":"2019-10-10T06:47:53Z","updated_at":"2019-10-10T06:47:53Z","author_association":"OWNER","body":"I've also tried putting the demo project in a tab bar... it works as expected."}}
{"actor":{"display_login":"jonkykong"}}