Cannot find a descendant at path [1,0] in node: {"children": #325
-
I'm recently getting this error and the whole app crashes. Any idea what would be the root cause? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I also get this occasionally and it seems to fix itself with a refresh 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
@karthikcodes6 In my case, this was caused by setting I think |
Beta Was this translation helpful? Give feedback.
-
yooo guys, it worked for me:
|
Beta Was this translation helpful? Give feedback.
@karthikcodes6 In my case, this was caused by setting
autoFocus
on theEditable
component from Slate. Setting it to false seems to have solved the issue.I think
autoFocus
causes slate to try to focus the editor before the yjs provider has synced (before it has any nodes to focus). It's basically a race condition