In my bubble app there are photos and texts that when the user clicks open something in the same tab.
I don’t have problem with that.
But I can’t open them in new tab (using seccondary button) because my browser doesn’t recognize the elements as having links. (In other sites, when I press secondary button/hold in case of mobile; the browser shows me ‘open in new tab’ - but in my bubble app it doesn’t happen).
Not sure if this is happening on ‘button’ elements but a solid method is to house the link in a ‘link’ element, this can mask over images or you can even create a button styled link.
Additionally you can sort of use a workflow action to open something in a new tab, there is this plugin here: Open URL In New Tab Plugin | Bubble
When I say sort of, it can get blocked by some web browsers as invasive.
Yes… even the button element doesn’t allow to open in a new tab if the user want.
The element that allows the user to open in a new tab is the “link” element.
It could be cool that Bubble detects when a button/text/image has a link, and allow to open in a new tab