From f86fd37c509a3eb4418e8233af13c9424e38c651 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 21 Dec 2022 21:16:53 +0100 Subject: [PATCH] Add scroll to dismiss keyboard --- Shared/Settings/SettingsView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shared/Settings/SettingsView.swift b/Shared/Settings/SettingsView.swift index f086e2f7..e7624fe7 100644 --- a/Shared/Settings/SettingsView.swift +++ b/Shared/Settings/SettingsView.swift @@ -27,6 +27,10 @@ struct SettingsView: View { var body: some View { settings .alert(isPresented: $model.presentingAlert) { model.alert } + #if os(iOS) + .backport + .scrollDismissesKeyboard() + #endif } var settings: some View {