oseparovic / MessageComposerView

Custom UIView that sticks to the keyboard like in iMessage
MIT License
100 stars 27 forks source link

initWithFrame dimensions not respected on TextView resize #4

Closed oseparovic closed 10 years ago

oseparovic commented 10 years ago

When text entry in the UITextView causes a resize to occur (number of lines changes) the MessageComposerView will resize to default height and margins.

To reproduce, initWithFrame: using a frame taller than the default height and notice how it is respected when the View is first visible. Then enter text until you exceed one line of text, now the whole MessageComposerView will shrink to default dimensions and margins while the UITextView increases in size to allow for the new line of text.

pompopo commented 10 years ago

Try this https://github.com/oseparovic/MessageComposerView/pull/5

oseparovic commented 10 years ago

Merged pompopo's fix