You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When focus moves from a BubbleMenu to someplace outside the editor, the BubbleMenu is left open and "stranded". This can happen when a button in the bubble menu does not immediately return focus to the editor (e.g. it opens a dropdown).
Expected Behavior
I expected the BubbleMenu to close once focus left the editor.
I did use Claude to build the repro (though I did review it). Also note, it describes two bugs which both have the same behavior. This particular issue is described by "bug 1".
Affected Packages
extension-bubble-menu
Tiptap Version
3.31.3
Browser Used
Firefox
What happened?
When focus moves from a
BubbleMenuto someplace outside the editor, theBubbleMenuis left open and "stranded". This can happen when a button in the bubble menu does not immediately return focus to the editor (e.g. it opens a dropdown).Expected Behavior
I expected the
BubbleMenuto close once focus left the editor.Reproducible Example URL (Optional)
https://stackblitz.com/github/priceld/tiptap-bubble-menu-repro
Additional Context (Optional)
Note
I did use Claude to build the repro (though I did review it). Also note, it describes two bugs which both have the same behavior. This particular issue is described by "bug 1".