When I open a URL that ends in a fragment with Safari on iPadOS 15 (e.g. https://example.com/page#heading
), Safari will scroll to the position identified by the fragment (heading
). But when I then try to share that URL via Mail, the URL entered into the mail's body does not include the fragment (https://example.com/page
). So only a link to the top of the page is shared.
This also happens with URLs that have a slash before the hash tag (https://example.com/page/#heading
).
How can I share a URL with its fragment via Mail in Safari on iPadOS?