forked from mirrors/linphone-iphone
Add small 1px margin to make sure we scroll when Composing message appear while we just opened a chatroom
This commit is contained in:
parent
d447158a25
commit
9977644872
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
_composeIndicatorView.hidden = !visible;
|
||||
}];
|
||||
if (visible) {
|
||||
if (_tableController.tableView.contentOffset.y + newComposingFrame.size.height >= (_tableController.tableView.contentSize.height - _tableController.tableView.frame.size.height)) {
|
||||
if (_tableController.tableView.contentOffset.y + newComposingFrame.size.height >= (_tableController.tableView.contentSize.height - _tableController.tableView.frame.size.height - 1)) {
|
||||
[_tableController scrollToBottom:TRUE];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue