Affected Packages
import { BubbleMenu } from '@tiptap/vue-3/menus'
Version(s)
3.22.0
Bug Description
When using BubbleMenu with conditional rendering (e.g. v-if) to toggle its visibility, the component throws runtime errors after being unmounted and mounted again.
According to the official example, it should be possible to toggle the menu (e.g. via a button) without issues. However, in practice, re-mounting the BubbleMenu leads to unstable behavior and occasional crashes.
Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/tiptap-vue-3-ci7q9h
Expected Behavior
BubbleMenu should safely mount and unmount multiple times without throwing errors, consistent with the official example.
Additional Context (Optional)
No response
Dependency Updates
Affected Packages
import { BubbleMenu } from '@tiptap/vue-3/menus'
Version(s)
3.22.0
Bug Description
When using BubbleMenu with conditional rendering (e.g. v-if) to toggle its visibility, the component throws runtime errors after being unmounted and mounted again.
According to the official example, it should be possible to toggle the menu (e.g. via a button) without issues. However, in practice, re-mounting the BubbleMenu leads to unstable behavior and occasional crashes.
Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/tiptap-vue-3-ci7q9h
Expected Behavior
BubbleMenu should safely mount and unmount multiple times without throwing errors, consistent with the official example.
Additional Context (Optional)
No response
Dependency Updates