         tableView?.endEditing(false)
         
         // track that viewWillDisappear was called
-        isViewDisappearing = true
+        isVisible = false
     }
     
     override open func viewWillAppear(_ animated: Bool) {

    // We use a flag to track whether viewWillDisappear has been called because we run a check on
    // viewDidAppear to see if we have any textFields in the tableView. This check is done after a delay,
    // so we need to track if viewWillDisappear was called during the delay
    var isViewDisappearing = false
    
    var tableViewInsetBottom: CGFloat {
        get {

        }
        
        // reset our flag that tracks whether viewWillDisappear was called
        isVisible = true
    }
    
    override open func viewDidAppear(_ animated: Bool) {
