Keyboard is kept dismissed when dismissing the actions or the attachments menu (#1141)

* keyboard is kept dismissed

* no need for dispatch queue
This commit is contained in:
Mauro
2023-06-23 11:39:43 +02:00
committed by GitHub
parent afc4332716
commit bc9871f015
4 changed files with 24 additions and 13 deletions
@@ -99,6 +99,9 @@ struct RoomScreen: View {
} editCancellationAction: {
context.send(viewAction: .cancelEdit)
}
.onChange(of: context.actionMenuInfo) { _ in
context.composerFocused = false
}
}
private var scrollToBottomButton: some View {