pwa-bugs
pwa-bugs copied to clipboard
iOS 12 and "mailto:"
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.