diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift index dbb51108..86880896 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift @@ -80,7 +80,10 @@ struct StatusEditorAutoCompleteView: View { private var suggestionsTagView: some View { ForEach(viewModel.tagsSuggestions) { tag in Button { - viewModel.selectHashtagSuggestion(tag: tag.name) + withAnimation { + isTagSuggestionExpanded = false + viewModel.selectHashtagSuggestion(tag: tag.name) + } if let index = recentTags.firstIndex(where: { $0.title.lowercased() == tag.name.lowercased() }) { recentTags[index].lastUse = Date() } else {