App Bridge V4 CDN: <a> tags with relative URLs don't work when opened in new tab

We are experiencing an issue with App Bridge V4 CDN where relative URLs in <a> tags work correctly on normal clicks but fail when opened in a new tab (cmd+click or right-click → “Open in new tab”).

Expected behavior:

When opening a link in a new tab, merchants should be redirected to the admin URL (e.g., https://admin.shopify.com/store/[store-name]/apps/[app-name]/dashboard/bundle/``...)

Actual behavior:

Opening in a new tab redirects to the frontend URL instead of staying within the admin context (e.g., https://[app-domain]/dashboard/bundle/...)

Code:

<IndexTable.Cell>
    <a
        data-primary-link
        href={`/dashboard/bundle/...`}
        style={{
            all: 'unset'
        }}
    >
        <Text as="span" variant="bodyMd" fontWeight="bold">
            {bundle.name}
        </Text>
    </a>
</IndexTable.Cell>

Environment:

  • App Bridge V4 CDN

Has anyone else encountered this issue? Are there any workarounds or is this a known limitation of App Bridge V4 CDN?

Related Issue:

App Bridge open() breaks redirects for apps