fix: content offset not take effect issue in compose scene
This commit is contained in:
parent
2c2aa127bf
commit
e753da5ca4
|
@ -69,6 +69,9 @@ extension ComposeViewModel {
|
|||
snapshot.appendItems([.input(replyToStatusObjectID: nil, attribute: composeStatusAttribute)], toSection: .status)
|
||||
}
|
||||
diffableDataSource.apply(snapshot, animatingDifferences: false)
|
||||
|
||||
// some magic fix modal presentation animation issue
|
||||
collectionView.dataSource = diffableDataSource
|
||||
}
|
||||
|
||||
func setupCustomEmojiPickerDiffableDataSource(
|
||||
|
|
Loading…
Reference in New Issue