You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
textRectForBounds is wrong with left/rightView #26
textRectForBounds is sometimes wrong when using left/rightView:
when viewMode is .never or .whileEditing everything is working as expected
when viewMode is .always or .whileEditing, frame is smaller than expected.
It seems coming from the fact that in 1st case UIKit UITextField.textRectForBounds is returning the full frame while in second it returns frame minus left/right frames.
Activity