-
Notifications
You must be signed in to change notification settings - Fork 900
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
Invariant Violation: ReactMount: Two valid but unequal nodes with the same data-reactid
#15
Comments
Do you still experience this issue with the latest react-quill? |
Well, we have just spent some more time investigating and figured out that the errors were caused by another component that has an element with Basically, if there is any element with So, yes, there is still an issue (in the new version too), but I don't know if it could/should be solved here, since it is quill theme that is copying all the attributes of an element (including P.S. errors are not shown when using the production version of React, as it disables the assertions. It is more of an annoyance to see the console full of red text when developing. |
Thanks for the troubleshooting. I wasn't able to reproduce it since I was able to have the multiple react-id co-exist (risky, but the toolbar was only getting rendered once) but the picture is clearer now. I still think this should be fixed. React-Quill is wrapping Quill and so it should take care of everything. Quill gets complete control of the toolbar and the editor anyway, so I believe using There is already a |
The toolbar is now rendered as static markup, so no This should fix the issue, but let me know if otherwise. |
Hello,
I have noticed a bunch of errors when using the editor with Snow theme, happening when, for example, moving mouse over dropdown type toolbar items:
I think that it happens because the theme adds with customised
spans
for eachselect
and copies all their attributes.This does not affect the functionality of the plugin it seems.
The text was updated successfully, but these errors were encountered: