Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Wait for the inputView to be laid out
  • Loading branch information
raulolmedocheca committed May 27, 2024
commit 944b0c828e462f5138f48d9c0dcc1ae3c765cad4
1 change: 1 addition & 0 deletions Sources/Controllers/MessagesViewController+Keyboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ extension MessagesViewController {
.subscribe(on: DispatchQueue.global())
.receive(on: DispatchQueue.main)
.removeDuplicates()
.delay(for: .milliseconds(50), scheduler: DispatchQueue.main) /// Wait for next runloop to lay out inputView properly
.sink { [weak self] _ in
self?.updateMessageCollectionViewBottomInset()

Expand Down