Dismiss keyboard interactively

This commit is contained in:
Arkadiusz Fal
2023-02-06 21:51:57 +01:00
parent cfd85a018e
commit 3d45aa357e
3 changed files with 11 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ struct SearchView: View {
}
}
.backport
.scrollDismissesKeyboard()
.scrollDismissesKeyboardInteractively()
#else
ZStack {
results

View File

@@ -29,7 +29,7 @@ struct SettingsView: View {
.alert(isPresented: $model.presentingAlert) { model.alert }
#if os(iOS)
.backport
.scrollDismissesKeyboard()
.scrollDismissesKeyboardInteractively()
#endif
}