mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 14:44:05 +00:00
Use v-show instead of v-if for EditorToolbar and BubbleMenu to avoid a race condition between Vue's DOM reconciliation and tiptap's internal DOM manipulation during unmount. This fixes the "Cannot read properties of null (reading 'insertBefore')" error that occurred when saving a task description. Adds regression test to verify the fix. Upstream issue: https://github.com/ueberdosis/tiptap/issues/7342 Fixes: https://github.com/go-vikunja/vikunja/issues/1770