I am seeing infrequent errors (Cannot read properties of null (reading 'parent')) coming from yjs YText (yjs/src/types/YText.js) that I have been unable to reproduce, but are cropping up occasionally in production telemetry when users are collaborating on a document.
Call stack is
Crashed in non-app:
../../../node_modules/yjs/src/types/YText.js
in deleteText
<anonymous> in Array.forEach
Called from:
../../../node_modules/@slate-yjs/core/src/plugins/withYjs.ts
in f
<anonymous> in Array.forEach
Called from:
../../../node_modules/@slate-yjs/core/src/plugins/withYjs.ts
in e.flushLocalChanges
I'm not sure this is a slate-yjs specific (or even necessarily related) issue given the erroring code is in yjs:::YText, I will post an issue there too.
I'm using
I am seeing infrequent errors (
Cannot read properties of null (reading 'parent')
) coming from yjs YText (yjs/src/types/YText.js
) that I have been unable to reproduce, but are cropping up occasionally in production telemetry when users are collaborating on a document.Call stack is
The crashing line is
I'm not sure this is a
slate-yjs
specific (or even necessarily related) issue given the erroring code is in yjs:::YText, I will post an issue there too.