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

    private(set) static var isKeyboardVisible = false
    private static var avoidingViewUsesAutoLayout = false
    private static var triggerViews = [UIView]()
    
    public static var buffer: CGFloat = 0.0
    public static var paddingForCurrentAvoidingView: CGFloat = 0.0

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