Button "Open Hyperlink" with mailto is being blocked by Safari mobile

Safari (desktop and mobile) includes a behavior similar to pop-up blockers where it tries to detect if the triggering of a mailto link has a corresponding user gesture. If it can’t detect the gesture, it blocks the email composition.

It appears that the pushing of a Coda button with the “Open Hyperlink” action and a “mailto” URL causes this block to occur. You can see this issue being discussed more generally on Stack Overflow

Any suggestions on a fix? HTML links work, but aren’t nearly as snazzy looking.

This is still occurring March 2024.
It happens on Safari Desktop also:

Buttons with mailto: links behave differently to text links.

Text links using mailto: are working ok; Clicking the link opens the default mail app and will pre-fill supplied parameters such as subject and body with no user interaction

Pressing a button with the same hyperlink in an openwindow() function causes two separate system dialog boxes to pop up:

  1. Open link? Are you sure you want to follow the link to mail.com?
    If you click OK, the second appears:
  2. This website has been blocked from automatically composing an email.

Is this a bug or is it expected behaviour?