TextField errorVerticalOffset + textInsets bug
M0rtyMerr opened this issue · 1 comments
M0rtyMerr commented
Setting both errorVerticalOffset
and textInsets.bottom
produce unexpected behavior. Cursor is shown only partly.
Sample project: just new project with added ErrorTextField
(without height constraints). And:
override func viewDidLoad() {
super.viewDidLoad()
textField.errorVerticalOffset = 2
textField.textInsets.bottom = 25
}
Reproducible 100%
I was able to workaround it setting adding textField.text = ""
OrkhanAlikhanov commented
Hey! Thank you! We'll take a look at this soon.