What worked for me in a similar situation is to give the content the a dent value using a fraction.
.presentationDetents([.fraction(0.95)])
Here's an example from my app: