Commit 3141bdb8 by Daniel Jonathan Committed by GitHub

Merge pull request #55 from OrkhanAlikhanov/disable-interaction

Fixed UITabBarController had userinteraction enabled during transition
parents 358c2a4c 99c20e7b
...@@ -124,6 +124,7 @@ extension MotionTransition { ...@@ -124,6 +124,7 @@ extension MotionTransition {
} }
transitionContainer?.isUserInteractionEnabled = true transitionContainer?.isUserInteractionEnabled = true
transitioningViewController?.view.isUserInteractionEnabled = true
completionCallback?(isFinishing) completionCallback?(isFinishing)
......
...@@ -135,6 +135,7 @@ fileprivate extension MotionTransition { ...@@ -135,6 +135,7 @@ fileprivate extension MotionTransition {
/// Prepares the transition container. /// Prepares the transition container.
func prepareTransitionContainer() { func prepareTransitionContainer() {
transitioningViewController?.view.isUserInteractionEnabled = isUserInteractionEnabled
transitionContainer?.isUserInteractionEnabled = isUserInteractionEnabled transitionContainer?.isUserInteractionEnabled = isUserInteractionEnabled
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment