Fixed chat room not scrolling to bottom when receving/sending message if we are already on the bottom
This commit is contained in:
parent
891be0eb9b
commit
fa33a7f29f
1 changed files with 1 additions and 0 deletions
|
@ -556,6 +556,7 @@ class DetailChatRoomFragment : MasterFragment<ChatRoomDetailFragmentBinding, Cha
|
||||||
|
|
||||||
binding.setScrollToBottomClickListener {
|
binding.setScrollToBottomClickListener {
|
||||||
scrollToFirstUnreadMessageOrBottom(true)
|
scrollToFirstUnreadMessageOrBottom(true)
|
||||||
|
viewModel.isUserScrollingUp.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (textToShare?.isNotEmpty() == true) {
|
if (textToShare?.isNotEmpty() == true) {
|
||||||
|
|
Loading…
Reference in a new issue