mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
VizTooltip: Hide on page scroll even if anchored (#91084)
This commit is contained in:
parent
1503c82ae9
commit
90349b21f7
@ -580,7 +580,7 @@ export const TooltipPlugin2 = ({
|
||||
|
||||
const onscroll = (e: Event) => {
|
||||
updatePlotVisible();
|
||||
_isHovering && !_isPinned && e.target instanceof HTMLElement && e.target.contains(_plot!.root) && dismiss();
|
||||
_isHovering && e.target instanceof HTMLElement && e.target.contains(_plot!.root) && dismiss();
|
||||
};
|
||||
|
||||
window.addEventListener('resize', updateWinSize);
|
||||
|
Loading…
Reference in New Issue
Block a user