SkyFloatingLabelTextField
SkyFloatingLabelTextField copied to clipboard
Fix `intrinsicContentSize`
Currently, if no frame or auto layout constraints are set, intrinsicContentSize.width
is always zero, which is a bug.
In a standard UITextField
, intrinsicContentSize.width
is wide enough to display the placeholder text. SkyFloatingLabelTextField
should also have the same minimum, and not just be zero.