[Bug]: Bubble Menu is going out of bound of editor when the selected content is not visible. #4823
Open
2 tasks done
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
extension-bubble-menu, tiptap/react
What Tiptap version are you using?
latest
What’s the bug you are facing?
Hi,
The bubble menu remains visible even when the selected content is scrolled out of the view of the editor. Due to this, the bubble menu is going out of the bounds of the editor. Refer to the below GIF:

What browser are you using?
Chrome
Code example
https://codesandbox.io/p/sandbox/async-pond-sqd8z8
What did you expect to happen?
The tippy tooltip should hide once the selected content is not visible.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: