<s-link> will not open app links in a new window

We are migrating our react admin action extensions to preact and noticed the <s-link> component does not respect target=“_blank” when it is an app link. For example the following will open in the current window:

<s-link href="app:exmaple/path" target="_blank">App link</s-link>

It does however work with a regular link (something starting with https://).

It would also be nice is if when the link is rendered it replaced “app:” with the actual url. As now it breaks if someone manually tries to open the link in a new tab.

Hi @Joe1

Thanks for highlighting this - it’s on our radar to address but there’s no ETA to share for that right now.

1 Like