You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Zack! Thank you for creating this issue.
The href prop is super new, so I haven't run into this issue yet. Currently onClick links are created using window.location.href. In #41 I allow for regular html link functionality to occur if the link is interacted with by focus or mouseover. Thus, allowing for target="_blank" to work.
For regular href or other links with contact props (e.g. email), you may leave out the element and style props. The code below should work for most cases.
Having
target="_blank"
does not open a new tab, but instead directs current window to thehref
.The text was updated successfully, but these errors were encountered: