     
     // Tap Gesture
     @objc func didTapGesture(_ sender: UITapGestureRecognizer) {
-        self.closePopup { _ in }
+        self.closePopup(nil)
     }
     
     func closePopup(_ completion: (() -> Void)?) {
-        hide(animation) { _ in
+        hide(animation) {
             completion?()
             self.didClosePopup()
         }

        if delta > 50 {
            baseScrollView.contentInset.top = -scrollView.contentOffset.y
            animation = .slideUp
            self.closePopup { _ in }
        }
    }
    

        
        childViewController.didMove(toParentViewController: self)
        
        show(layout, animation: animation) {
            self.defaultContentOffset = self.baseScrollView.contentOffset
            self.showedHandler?(self)
        }
