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 intosoffes:masterfrom
Conversation
This happened to me when embedding textview into table view cell. In landscape mode it got stretched because of new frame.
|
👍 Fixes issue #3. |
|
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. |
|
I have the same problem when animating. |
|
@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. |
|
It would be better to just set the |
|
Sure. Will come up a bit later today |
|
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.