I’m attempting to do one thing just like the apple maps backside sheet, however utilizing a customized textfield appears suboptimal. Making use of searchable does add a system offered search bar to the sheet, however it’s positioned on the backside of the sheet no matter present detents. Putting it within the navigationbardrawer does precisely as needed however has a high padding that I can not eliminate it
Compact presentation of sheet, undesirable high padding proven:

.sheet(isPresented: $showSearch) {
NavigationStack {
Listing {
Textual content("Brow")
Textual content("Brow")
Textual content("Brow")
Textual content("Brow")
}
.searchable(textual content: $searchText, placement: .navigationBarDrawer,immediate: "Search...")
}
.ignoresSafeArea(.all)
.presentationBackgroundInteraction(.enabled)
.presentationDetents([.height(80), .medium, .large])
.interactiveDismissDisabled(true)
}


