Компактное представление листа, показано нежелательное верхнее отступы:

Лоб со средними фиксаторами;

.sheet(isPresented: $showSearch) {
NavigationStack {
List {
Text("Forehead")
Text("Forehead")
Text("Forehead")
Text("Forehead")
}
.searchable(text: $searchText, placement: .navigationBarDrawer,prompt: "Search...")
}
.ignoresSafeArea(.all)
.presentationBackgroundInteraction(.enabled)
.presentationDetents([.height(80), .medium, .large])
.interactiveDismissDisabled(true)
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... onbardrawe
Мобильная версия