SolidJSS
SolidJSโ€ข2y agoโ€ข
17 replies
Mr Void

Anchor with target="_blank" leading to app's URL

I have a link with the
href
set to an external link for an image. When clicking on this link, a new tab should load the image with given URL.
However, instead of loading the image's url, it loads the apps url.. what might be the issue?

<a class="btn btn-sm" href={store.imageModal.url} target="_blank">View in new tab</a>


Hovering the link shows the correct URL at the bottom left corner of the browser, as shown in the screenshot attached in this post. ๐Ÿค”
image.png
Was this page helpful?