VizTooltip: Hide on page scroll even if anchored (#91084)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user