     
     /// Prepares the transition container.
     func prepareTransitionContainer() {
-        transitionContainer?.isUserInteractionEnabled = false
+        transitionContainer?.isUserInteractionEnabled = isUserInteractionEnabled
     }
     
     /// Prepares the view that holds all the animating views.

    func prepareSnapshotView() {
        fullScreenSnapshot = transitionContainer?.window?.snapshotView(afterScreenUpdates: false) ?? fromView?.snapshotView(afterScreenUpdates: false)
        
        if let snapshot = fullScreenSnapshot {
            (transitionContainer?.window ?? transitionContainer)?.addSubview(snapshot)
        }
        
        if let v = fromViewController?.motionStoredSnapshot {

    
    /// Prepares the view hierarchy.
    func prepareViewHierarchy() {
        if (.auto == viewOrderStrategy && !isPresenting && !isTabBarController) ||
            .sourceViewOnTop == viewOrderStrategy {
            context.insertToViewFirst = true
        }
        
        for v in preprocessors {
            v.process(fromViews: context.fromViews, toViews: context.toViews)
        }
    }
    
