diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/ScrollOnNewMessageCallback.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/ScrollOnNewMessageCallback.kt index 10cb1eb4a6..372257e9f9 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/ScrollOnNewMessageCallback.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/ScrollOnNewMessageCallback.kt @@ -79,7 +79,8 @@ class ScrollOnNewMessageCallback(private val layoutManager: LinearLayoutManager, while (newTimelineEventIds.lastOrNull() != firstNewItemIds) { newTimelineEventIds.removeLastOrNull() } - layoutManager.scrollToPosition(0) + //layoutManager.scrollToPosition(0) + layoutManager.scrollToPositionWithOffset(0, Integer.MAX_VALUE) } } }