-
Notifications
You must be signed in to change notification settings - Fork 333
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
setToast: Toast is never displayed #814
Comments
I also encountered this problem, in nextjs. |
After further investigation, I noticed that the |
After migrating to Next.js, toasts are working flawlessly! (For me, at least) @dogdogbrother did you set up a new next.js project or did you migrate a CRA project? |
having the same issue here. toasts won't show up in nextjs |
I have a new nextjs project, and the toasts are not showing up |
@Throvn could you provide any hints on how to resolve it? |
After I migrated from my CRA project, Toasts suddenly started to work. When I dug into the code I couldn't PinPoint the bug to something specific. However, if you are working on an open source project I could take a look at your code/config and try to spot potential differences. Honestly, I think the bug is introduced in a compilation step, but this is just a gut feeling. Are you using typescript? |
I still have this problem in Next.js 13 |
Bug report 🐞
Version & Environment
geist-ui/core
: ^2.3.8Expected Behaviour
The behavior I expect is that when I execute the following snippet, a toast will show up somewhere on the webpage:
Actual results (or Errors)
Nothing is happening at all. When I check the inspector, the DOM is never modified. No errors are thrown either. I tried to produce a minimal reproducable example. For me Toasts do not get displayed at all. Not even in a fresh cra project.
The text was updated successfully, but these errors were encountered: