From 33260880814d193bb8cd96f8e97e787f7b2f09fe Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 4 Jan 2022 23:34:09 +0100 Subject: [PATCH] Improve search suggestion button area --- Shared/Search/SearchSuggestions.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Shared/Search/SearchSuggestions.swift b/Shared/Search/SearchSuggestions.swift index b498a1cf..e91308e8 100644 --- a/Shared/Search/SearchSuggestions.swift +++ b/Shared/Search/SearchSuggestions.swift @@ -38,9 +38,12 @@ struct SearchSuggestions: View { Text(querySuffix(suggestion)) .lineLimit(1) .layoutPriority(1) + .frame(minWidth: 0, maxWidth: .infinity, alignment: .leading) + .contentShape(Rectangle()) } } } + .frame(minWidth: 0, maxWidth: .infinity, alignment: .leading) .buttonStyle(.plain) Spacer()