Strange UINavigationController Push/Pop Glitch with interactive gesture

I was able to replicate a bug recently (which seems to have been around for quite a while but I have never been able to replicate), and I don't understand how to fix it. 

The steps to replicate it are: 
  1. On the main screen make an edge swipe gesture as if you wanted to make the interactive pop. 

  2. Tap on an element that invokes the push of a screen. 

  3. The UI seems to freeze, but if you try to do an edge swipe gesture, the screen that was supposed to open appears slowly, and then closes.





Seems could be fixed by implementing UINavigationControllerDelegate, and disabling interactivePopGestureRecognizer on root controller with:
Code Block
    func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
        self.interactivePopGestureRecognizer?.isEnabled = self.viewControllers.count > 1
    }


Strange UINavigationController Push/Pop Glitch with interactive gesture
 
 
Q