     private(set) static var isKeyboardVisible = false
     private static var avoidingViewUsesAutoLayout = false
     private static var triggerViews = [UIView]()
-    private static var isChanging = false
+    private static var showingAnimationCount = 0
     
     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()
                    }

                                self.avoidingView!.transform = transform
                            }
                        }, completion: { _ in
                            self.showingAnimationCount -= 1
                        })
                    }
                }
