-
Notifications
You must be signed in to change notification settings - Fork 98
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
Duplicated editor after show and hide the component using react 18 #306
Comments
I have the same issue by getting-start, also with react 18. |
I'm having the same issue as well! React 18 + Strict Mode. |
I find the issue missing after delete
|
But for some reason older versions of react worked with Ckedtior even with strict mode |
Hey guys, Thanks for reporting the issue. We're currently focused on other topics. Hence it's hard to say when we will fix the problem. I don't want to promise anything, but we will try to take a look at that in the next week. However, we will appreciate if you could share steps that allow reproducing the problem, |
I can confirm this, the steps I followed:
Result - there are two editors on the page. |
this is a react 18 bug when we use <React.StrictMode> it render twice componenents and when we remove <React.strictMode it work fine |
yeak, but it should destroy the instance / unmount after component is not visible |
I close this issue as DUP of #294. We fixed the issue and it should not occur in the latest version of the |
If component is hidden (not in the dom, not rendered) and shown again then it will render twice.
The text was updated successfully, but these errors were encountered: