@codemirror/tooltip
Advanced tools
Changelog
0.19.16 (2022-02-25)
Tooltip views may now have a getPos
property, which can be used to override the way the tooltip's position is computed.
Changelog
0.19.15 (2022-02-18)
The default hover time has been reduced from 600 to 300 milliseconds.
hoverTooltip
now takes a hoverTime
option, which can be used to control how long the user must hover to see the tooltip.
Changelog
0.19.14 (2022-02-14)
Fix an issue where in editors without padding, tooltips for positions right on the start and end of the visible content wouldn't show up.
Changelog
0.19.13 (2022-01-19)
Tooltips now have an overlap
option that can be used to disable the moving of overlapping tooltips.
Changelog
0.19.12 (2022-01-11)
The new getTooltip
function can retrieve the active tooltip view from a tooltip object.
Changelog
0.19.10 (2021-11-23)
Make positioning of tooltips that don't fit the available space more well-defined.
The new repositionTooltips
function can be used to tell an editor to recompute its tooltip positions.
Changelog
0.19.9 (2021-11-22)
Add an option tooltipSpace
to the tooltips
function that allows configuring of the available space to show tooltips in.
Changelog
0.19.8 (2021-11-19)
Make automatic repositioning when tooltips go out of view more robust with an intersection observer.