Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 12 and "mailto:" #15

Open
KingRial opened this issue Nov 20, 2019 · 0 comments
Open

iOS 12 and "mailto:" #15

KingRial opened this issue Nov 20, 2019 · 0 comments

Comments

@KingRial
Copy link

KingRial commented Nov 20, 2019

On iOS 12 when PWA is in "standalone" mode (installed) there is no way to correctly handle the "mailto:" link

<a href="mailto:[email protected]">test[dot]com</a>
<a href="mailto:[email protected]" target="_blank">test[dot]com</a<

The only workaround found is to add a click event handler similar to:

()=>{
    window.location.href = "mailto:[email protected]?subject=" + emailSubject + "&body=" + emailBody
    return
}

On iOS 13 the standard usage works correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant