Skip to content

Commit

Permalink
fix: endTextEditing 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lina0322 committed Oct 4, 2024
1 parent aa17854 commit 1cdd6a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Projects/Features/MemeEditor/Sources/MemeEditorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ struct MemeEditorView: View {
keywordTags: keywordTags
) { keyword in
viewModel.dispatch(type: .memeKeywordTapped(keyword: keyword))
endTextEditing()
}
}
.id(viewModel.state.memeCategories.count)
Expand Down
3 changes: 3 additions & 0 deletions Projects/Features/Search/Sources/View/SearchView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public struct SearchView: View {
.frame(height: 64 + 50)
}
.scrollIndicators(.hidden)
.onTapGesture {
endTextEditing()
}
}
.onAppear {
viewModel.dispatch(type: .viewWillAppear)
Expand Down

0 comments on commit 1cdd6a3

Please sign in to comment.