                 tableViewFrame.origin = self.convert(tableViewFrame.origin, to: nil)
                 tableViewFrame.origin.x += 2
                 tableViewFrame.origin.y += frame.size.height + 2
-                tableView.frame = tableViewFrame
+                UIView.animate(withDuration: 0.2, animations: { [weak self] in
+                    self?.tableView?.frame = tableViewFrame
+                })
                 
                 var shadowFrame = CGRect(x: 0, y: 0, width: frame.size.width - 6, height: 1)
                 shadowFrame.origin = self.convert(shadowFrame.origin, to: nil)

    
    /// Indicate if this field has been interacted with yet
    open var interactedWith = false

    /// Set your custom visual theme, or just choose between pre-defined SearchTextFieldTheme.lightTheme() and SearchTextFieldTheme.darkTheme() themes
    open var theme = SearchTextFieldTheme.lightTheme() {

    }
    
    open var inlineMode = false

    ////////////////////////////////////////////////////////////////////////
    // Private implementation
    
    fileprivate var tableView: UITableView?
    fileprivate var shadowView: UIView?
