-
-
Notifications
You must be signed in to change notification settings - Fork 176
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] onChange does not fire with next.js >= 14.2 #419
Comments
I am having the same issue. It was working for me a few days ago, so I think it must be related to the recent update. |
Confirming that. Next.js 14.2.0 did something that altered Lexical's behavior. I contacted the Lexical team, with a reproduction here: https://github.com/mdx-editor/lexical-issue Additional details - this is a problem only in dev mode. |
Opened an issue here: vercel/next.js#64486 |
🎉 This issue has been resolved in version 2.20.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Updated the MDXEditor package to work around the change, now it works in mdx-editor/mdx-editor-in-next@f5d2c7f. |
Thank you for the prompt reaction and resolution of this issue! <3 |
Describe the bug
After updating next.js to version 14.2 and later trying 14.2.1 the onChange function does not fire when the editor input changes. With next.js 14.1.4 the onChange function fires just fine.
Reproduction
I am unfortunately unable to use codesandbox since any attempt to use it results in a complete system crash on my PC.
To Reproduce
create-next-app
with next.js ^14.2console.log
)Expected behavior
It is expected for the onChange function to fire every time that a change is made to the text editor.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: