Re-draw placeholder when UITextView's layout or frame changes - #9
Re-draw placeholder when UITextView's layout or frame changes#9ikovalisko wants to merge 3 commits into
Conversation
This happened to me when embedding textview into table view cell. In landscape mode it got stretched because of new frame.
mmorey
commented
Dec 29, 2013
👍 Fixes issue #3. |
thomassnielsen
commented
Jan 30, 2014
This doesn't seem to work properly when animating with layout constraints. The placeholder redraws stretched before the animation starts then becomes correct when the animation is done. I'm looking for another fix but haven't found one yet. |
rsanchezsaez
commented
Jun 9, 2014
I have the same problem when animating. |
conradev
commented
Aug 27, 2014
@thomassnielsen, @rsanchezsaez: that is the result of how CoreAnimation works. The model layer ( One solution would be to use pop, which animates the model layer, but there are a number of side effects introduced by doing that. |
soffes
commented
Aug 27, 2014
It would be better to just set the |
ikovalisko
commented
Aug 29, 2014
Sure. Will come up a bit later today |
ikovalisko
commented
Aug 29, 2014
Done. Please, have a look |
This happened to me when embedding textview into table view cell. In landscape mode it got stretched because of new frame.