jverdi / jverdi/JVFloatLabeledTextField
Placeholder text that exceeds bounds of a TextView cannot be viewed
- Dominant language
- Objective-C
- Stars
- 7.1k
- Forks
- 720
- PR merge metrics
- No merged PRs in 30d
Description
If a particularly long placeholder is used, such that the text exceeds the bounds of the TextView, then there is no way to view the clipped text.
Using the following text, for example:
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in felis eget lacus sagittissemper. Suspendisse potenti. Donec bibendum commodo justo, eu vulputate elit iaculis eget. Duis sollicitudin pulvinar elit pharetra commodo. Maecenas laoreet cursus urna. Nunc magna lectus, consequat accumsan quam vel, eleifend vulputate turpis. Integer eleifend massa aliquet fringilla aliquet. Sed ipsum lectus, ornare in ex tincidunt, ultricies blandit tortor. Vivamus ac massa ac velit finibus volutpat.
>
>Vestibulum vitae dapibus tellus, eu commodo magna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras interdum tellus non velit interdum tempus. Integer tincidunt tellus sit amet ipsum luctus, et ornare sem mollis. Duis non dui sollicitudin, laoreet lectus vitae, convallis lorem. Pellentesque lobortis, turpis ut dictum consequat, justo nulla laoreet tellus, sit amet varius neque nisl a purus. In a velit purus. Cras sem nunc, sollicitudin viverra nibh et, rhoncus facilisis nisl. Nunc finibus ullamcorper aliquet. Vestibulum vehicula velit ut gravida eleifend.
Will result in the following behaviour:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining the UITextField subclass and how it displays long placeholder text in the affected iPhone layout. Reproduce the example with a placeholder longer than the TextView bounds, then verify that the clipped text can be viewed without disrupting the floating-label form behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100