             s.placeholderLabel.transform = CGAffineTransform.identity
             s.placeholderLabel.x = s.leftViewWidth
             s.placeholderLabel.y = 0
-            s.placeholderLabel.textColor = s.placeholderNormalColor
         }) { [weak self] _ in
             self?.isAnimating = false
         }

    
    /// Updates the placeholderLabel attributedText.
    fileprivate func updatePlaceholderLabelColor() {
        guard let v = placeholder else {
            return
        }
        
        placeholderLabel.textColor = isEditing ? placeholderActiveColor : placeholderNormalColor
    }
    
    /// Updates the detailLabel attributedText.
    fileprivate func updateDetailLabelColor() {
        guard let v = detail else {
            return
        }
        
        detailLabel.attributedText = NSAttributedString(string: v, attributes: [NSForegroundColorAttributeName: detailColor])
    }
}


    
    /// The animation for the placeholder when editing begins.
    fileprivate func placeholderEditingDidBeginAnimation() {
        updatePlaceholderLabelColor()
        
        guard isPlaceholderAnimated else {
            return
        }
