AB Cannot create Custom URL with mailto
Describe the problem
Frederik reported a bug related to creating a custom URL that is meant to open an email client.
When creating a Link Element and setting the Custom URL destination to a mailto: email address, the link no longer opens the email client. Instead, the link doesn't work, because the browser tries to open an invalid URL.
Try to support other prefixes as well like "tel:" or stuff like that.
Steps to reproduce
- Create a Link Element
- Set it to use Custom URL
- Set the Destination URL to
mailto:foo@bar.com?subject=test - Preview the App and click the element
Actual result
You will notice the browser tries to navigate to bar.com?subject=test and eventually times out.
Expected result
We expect that the local email client is opened and a draft email is composed.
Edited by Jérémie Pardou
