Hi! We recently moved from Polaris React to web components 1.1. Users noticed they can no longer Cmd-click our task editor’s Events and Versions buttons to open them in a new tab.
These are s-button elements with href, placed in the secondary-actions slot of s-page. Regular clicks work, but Cmd-click also navigates in the same tab.
Is this a known issue with the admin title bar? Is there a supported way to keep the usual new-tab behavior without moving the buttons out of the header?
Thanks for reporting this Matt. I’ve reproduced the same behavior. As a workaround, you can set target="_blank" on the button, although this opens the destination in a new tab for every click, not only for Cmd-click.