It's starting to drift off topic, but I was less sure if it was a bug on iPadOS, where the popover dismissal seems to more commonly be "tap outside the popover to cancel". The difference on visionOS, IMO, is that tapping outside the mail compose controller doesn't do anything and it modally blocks the window it was presented from until you send the email or force-quit the entire app.
TL;DR: the iPad behavior read to me like expected behavior for the platform. I put a visionOS specific workaround in my app, but didn't bother on iPadOS, since there is a platform specific "dismiss this popup" verb and it works as expected. I guess that would be less true if the mail controller was presented fullscreen though …
Topic:
App & System Services
SubTopic:
General
Tags: