A TextView with a multiline placeholder does not display correctly when 'scrollEnabled' is set to false.
NOTE: The constraints used in the demo project do not work particularly well when setting descriptionField.scrollEnabled = FALSE
, so please forgive the odd style of the following screenshots. The important thing is the Description field.
Due to #176, I needed to place a JVFloatLabeledTextView within a UIScrollView. For reference, an example of the layout I am working towards is as follows:
In order to achieve the view using AutoLayout and to avoid confusing nested scrolling behaviour, I found it easiest to disable scrolling on the TextView. Unfortunately, the view is not rendered correctly when using a multiline placeholder. For example:
The expected result is as follows (again, forgive the odd constraints behaviour):
I've been working on a fix which, as far as I can tell, addresses this issue without affecting existing behaviour. I'll submit a pull request shortly.