For anyone else stumbling on this post like I did...
I verified OP @NicolasBrunnerSRF post appears to be an issue in ipadOS 17.x; but is resolved in ipadOS 18.x. The code recognizes the horizontal size has changed; but SwiftUI doesn't reflect the change in the UI element from sheet to fullScreenCover. I haven't found a work around :-\
@NicolasBrunnerSRF thanks for sharing your .modal ViewModifier.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: