diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift index ae86db17..03cb6d5a 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorAutoCompleteView.swift @@ -161,5 +161,13 @@ struct StatusEditorAutoCompleteView: View { .padding(.horizontal, .layoutPadding) } .frame(height: 200) + .gesture(DragGesture(minimumDistance: 0, coordinateSpace: .local) + .onEnded({ value in + withAnimation { + if value.translation.height > 0 { + isTagSuggestionExpanded = false + } + } + })) } }