Skip to content

Commit

Permalink
Merge pull request #55 from OrkhanAlikhanov/disable-interaction
Browse files Browse the repository at this point in the history
Fixed UITabBarController had userinteraction enabled during transition
  • Loading branch information
DanielDahan authored Sep 27, 2018
2 parents 358c2a4 + 99c20e7 commit 3141bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Transition/MotionTransition+Complete.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ extension MotionTransition {
}

transitionContainer?.isUserInteractionEnabled = true
transitioningViewController?.view.isUserInteractionEnabled = true

completionCallback?(isFinishing)

Expand Down
1 change: 1 addition & 0 deletions Sources/Transition/MotionTransition+Start.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ fileprivate extension MotionTransition {

/// Prepares the transition container.
func prepareTransitionContainer() {
transitioningViewController?.view.isUserInteractionEnabled = isUserInteractionEnabled
transitionContainer?.isUserInteractionEnabled = isUserInteractionEnabled
}

Expand Down

0 comments on commit 3141bdb

Please sign in to comment.