I can't tell you that any of these approaches will work for sure, but there are three methods or workarounds I've thought of that you could try out.
1. Use target="_blank"
I would usually use lower case letters in target attributes. So instead of target="_Blank"
, you could try target="_blank"
.
However, this is more likely to be a matter of preference, and I think browsers will most likely accept both of these options.
2. Use some simple javascript
You could use the javascript window.open()
function as a workaround for this problem.
Replace target="_Blank"
with onclick="window.open('https://www.example.com')"
and see if that works any better!
3. Use an anchor tag
At the moment, you seem to be using a button
element which looks something like this:
<button color="extra-color-1" ... target="_blank" url="https://...">
Click here!
</button>
You could wrap an a
tag around the button and instead apply the target
attribute to that. It may be that target
attributes work better directly on anchor tags. Here's what it would look like:
<a href="https://..." target="_blank">
<button color="extra-color-1" ... >
Click here!
</button>
</a>