Open amnesca opened 5 months ago
I'm facing the same issues and don't know how to resolve @@. I tried their template using next but it has no problem @@.
I've found that this happens when the plugin is instantiated twice & not destroyed. The cursor flickers sending awareness updates back & forth between the editor instance that is active & the editor instance that is created but not destroyed in the background.
I believe that their might be an issue where the editor instance is not being destroyed, but I don't fully understand the livewire integration.
Which packages did you experience the bug in?
@tiptap/extension-collaboration-cursor
What Tiptap version are you using?
2.2.4
What’s the bug you are facing?
I installed tiptap using Laravel Livewire instructions and set up a temporary server using - npx @hocuspocus/cli --port 1234 --sqlite. Regardless of the browser I'm using the collaboration cursors flicker like crazy (see below).
What browser are you using?
Firefox
Code example
https://github.com/amnesca/tiptap-collaboration-cursor.git
What did you expect to happen?
I expect the cursors not to flicker.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?