emilkowalski / sonner

An opinionated toast component for React.

Home Page:https://sonner.emilkowal.ski

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom toast with anchor tags not working on firefox

glpecile opened this issue · comments

commented

While trying to write a custom toast with an anchor tag added like the following example code:

toast.info(
<span> 
	text{" "}
	<a target={"_blank"} rel={"noreferrer"} href={url}>
		link
	</a>{" "}
	more text.
</span>
);

it works flawlessly as intended in chromium browsers but in firefox links don't seem to open at all.
Any help?

I can reproduce it and are currently looking for a possible solution.