diff --git a/Sources/iOS/Text/TextField.swift b/Sources/iOS/Text/TextField.swift index 4a7a282ba..10db4de3a 100644 --- a/Sources/iOS/Text/TextField.swift +++ b/Sources/iOS/Text/TextField.swift @@ -438,6 +438,10 @@ open class TextField: UITextField, Themeable { return textRect(forBounds: bounds) } + open override func leftViewRect(forBounds bounds: CGRect) -> CGRect { + return CGRect(x: 0, y: 0, width: leftViewWidth , height: bounds.height) + } + /** Prepares the view instance when intialized. When subclassing, it is recommended to override the prepare method