mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Dismiss the keyboard on drag
This commit is contained in:
@@ -85,6 +85,7 @@ struct SearchScreen: View {
|
||||
.conditionalSearchable(searchQuery: $context.searchQuery)
|
||||
.searchFocused($isSearchFieldFocused)
|
||||
.autocorrectionDisabled(true)
|
||||
.scrollDismissesKeyboard(.immediately)
|
||||
.background(tabShortcuts)
|
||||
.onSubmit(of: .search) {
|
||||
// A software keyboard's submit/search button just dismisses; only a hardware return selects.
|
||||
|
||||
Reference in New Issue
Block a user