Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Blurry old toasts #39

Closed
yb-cs opened this issue Jan 3, 2024 · 6 comments · Fixed by #71
Closed

[Bug] Blurry old toasts #39

yb-cs opened this issue Jan 3, 2024 · 6 comments · Fixed by #71

Comments

@yb-cs
Copy link

yb-cs commented Jan 3, 2024

image
As you see in the above picture the old toasts appear to be blurry even when focusing them. The issue probably has to do with not clearing the blur effect styling of the components once we hover on them.

@wobsoriano
Copy link
Owner

Where are you getting this output? I just tried it on svelte sonner site but cant figure out how to replicate this

@pitzzahh
Copy link

It is from the documentation where you render a toast. It is also blurry from my perspective.
image

@galaczi
Copy link

galaczi commented Jan 31, 2024

For me all of them are blurry. Image also from the docs page:
image

@wobsoriano
Copy link
Owner

wobsoriano commented Feb 7, 2024

That is so weird. I am not able to replicate the issue. I'll try it on my Windows machine.

Update: Looks like I was able to confirm the issue on Windows.

Update 2: JK, wasnt able to replicate still

@wesleyfreit
Copy link

wesleyfreit commented Feb 9, 2024

Update: I was using the filter with blur 0, but it still didn't work normally with more than one active toast, I went deeper into the toast css and found the will-change property which, when defining it as unset, removes the blur, at least here.

<Toaster
toastOptions={{
style: { willChange: 'unset' },
}}
/>

@wobsoriano
Copy link
Owner

Related emilkowalski/sonner#334 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants