Releases
@tiptap/extension-bubble-menu@3.4.2
Patch Changes
-
24445c4: Listen to a custom scroll target when positioning the BubbleMenu and
ensure the scroll listener is cleaned up on destroy.The BubbleMenu now accepts an optional
scrollTarget
option which will be
used instead ofwindow
when listening for scroll events that affect the
menu positioning. The plugin also removes the scroll listener during
cleanup.No user-facing API changes other than the new optional
scrollTarget
setting.