sonner icon indicating copy to clipboard operation
sonner copied to clipboard

richColor prop not working

Open ghost opened this issue 1 year ago • 3 comments

Describe the feature / bug 📝:

Toaster richColors attribute doesn"t make any effect, the toast keep showing native without colors

Steps to reproduce the bug 🔁:

image

image

image

ghost avatar Feb 22 '24 03:02 ghost

You may also want to give a package version or a codesandbox to host the sample code.

Looking at the comment above, I think it should work idealy.

reboottime avatar Feb 22 '24 04:02 reboottime

Are you sure the toastSuccess is fired? The toast shown on the screenshot doesn't have a checkmark icon.

emilkowalski avatar Feb 23 '24 10:02 emilkowalski

That's odd, even though it seems like a toastInfo is the one that fired, the richColors flag doesnt seem to effect it either. I had this issue today but right before I was going to comment on this I found the issue was a on my end. Probably need to go over your code again and if it still persists then provide a sandbox to replicate this issue.

AhmedAlbarghouti avatar Mar 07 '24 05:03 AhmedAlbarghouti