Replies: 6 comments 2 replies
-
Fixing the error will cause this toast to go away. Once there has been an error, you shouldn't really be interacting with your application any longer. |
Beta Was this translation helpful? Give feedback.
-
sometimes I have an error that I don't necessarily want to fix at that moment |
Beta Was this translation helpful? Give feedback.
-
@mrassili are those typescript errors or others? You can disable typescript errors during dev and/or production builds through some options in next.config.js. |
Beta Was this translation helpful? Give feedback.
-
I am not using TypeScript, I couldn't find an option to disable the new error overlay/toast or fast refresh. I ended up downgrading for a few hours :( |
Beta Was this translation helpful? Give feedback.
-
I look at the console. Why do I need an uninformative red square in the interface? I just added: useEffect(() => {
if (process.env.NODE_ENV === "development") {
setInterval(() => {
document.querySelector("body > nextjs-portal")?.remove();
}, 10);
}
}, []); |
Beta Was this translation helpful? Give feedback.
-
I believe I will have to downgrade till I discover a solution that turns off built-in toast in the development environment because I am having the same problem with the latest release. I looked for potential solutions, but none of them were effective. showing up in both page routing and app routing I would like this built-in nextJS badge to be disabled or removed. |
Beta Was this translation helpful? Give feedback.
-
Bug report
Describe the bug
The new toast introduced in v9.4 seems intrusive and doesn't hide which makes it difficult to see the background when simulating the mobile viewport in chrome
To Reproduce
Expected behavior
it should be closable or not show at all
Screenshots
System information
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions