Hi @marijn! ProseMirror is fantastic project, thank you for your awesome work.
I stuck with the following issue:
When there is a widget decoration on the line and user type something to the end of the line and external view.updateState(..) is happening (e.g. some event from collaboration service) input cursor jumps to the position of the latest widget in the line.
I extracted the problem to the following snippet: https://glitch.com/edit/#!/deep-canid
- it looks like the issue is reproduced in Chrome only (tested in Firefox and Safari - it works well).
- if start typing in the middle of the line - it works as expected.
- if disable widget plugin - cursor behavior is consistent.
Can you assist on the issue? I lost hope trying to debug a problem.
Thank you in advance / Vladimir