Skip to content

Commit e99b127

Browse files
committed
fix scroll position jessesquires#256
1 parent 08a9ec9 commit e99b127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSQMessagesViewController/Controllers/JSQMessagesViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ - (void)scrollToBottomAnimated:(BOOL)animated
365365
}
366366

367367
[self.collectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForItem:items - 1 inSection:0]
368-
atScrollPosition:UICollectionViewScrollPositionBottom
368+
atScrollPosition:UICollectionViewScrollPositionTop
369369
animated:animated];
370370
}
371371

0 commit comments

Comments
 (0)