                                 transform = transform.translatedBy(x: 0, y: displacement)
                                 self.avoidingView!.transform = transform
                             }
-                        }, completion: { _ in })
+                        }, completion: { _ in
+                            isChanging = false
+                        })
                     }
                 }
                 if self.avoidingBlock != nil {

                        self.avoidingView!.transform = CGAffineTransform.identity
                    }
                }, completion: {(_ finished: Bool) -> Void in
                    self.updatedConstraints.removeAll()
                    self.updatedConstraintConstants.removeAll()
                })
            }
            if self.avoidingBlock != nil {

            animationDuration = 0.1
        }
        if isKeyBoardShowing {
            isChanging = true
            for triggerView in self.triggerViews {
                
                //showing and docked
