                 height = footerHeight//min(abs(distance), footerHeight)
             }
             
-            frame = CGRect(x: 0, y: y, width: width, height: footerHeight)
+            frame = CGRect(x: 0, y: y, width: width, height: footerHeight - additionHeight)
         case .scaleToFill:
             if notFull, state == .refreshing {
                 y = scrollView.frame.height - footerHeight

            } else {
                height = abs(distance)
            }
            frame = CGRect(x: 0, y: y, width: width, height: height)
        }
        
        if state == .refreshing || distance > 0 {

        
        var y = max(scrollView.contentSize.height, scrollView.frame.height)
        
        var additionHeight: CGFloat = 0
        if #available(iOS 11.0, *) {
            additionHeight = scrollView.adjustedContentInset.bottom
        }
        
        let footerHeight = zz_RefreshConstant.footerHeight + additionHeight
        
        var height: CGFloat = 0.0
        switch style {
