We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b960c69 + 1b85e27 commit 209ba6bCopy full SHA for 209ba6b
packages/core/addon/components/eui-tool-tip-popover/index.ts
@@ -16,12 +16,14 @@ export default class EuiTooltipPopover extends Component<EuiTooltipPopoverArgs>
16
super(owner, args);
17
document.body.classList.add('euiBody-hasPortalContent');
18
window.addEventListener('resize', this.updateDimensions);
19
+ window.addEventListener('scroll', this.updateDimensions, true);
20
}
21
22
willDestroy(): void {
23
super.willDestroy();
24
document.body.classList.remove('euiBody-hasPortalContent');
25
window.removeEventListener('resize', this.updateDimensions);
26
+ window.removeEventListener('scroll', this.updateDimensions, true);
27
28
29
@action
0 commit comments