So I have built a custom bottom sheet (similar to apple maps) in swiftUI. The sheet seems to work fine in most conditions but there is some weird behaviour in the following cond