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

    
    /// 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])
    }
}


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