From dd3e594dd76f8a2736c1f2b74c398a3bab968609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 12 Apr 2017 21:20:47 +0200 Subject: [PATCH] fix: scroll issue and positioning of info-popover --- public/app/core/components/info_popover.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/app/core/components/info_popover.ts b/public/app/core/components/info_popover.ts index 6b2a300551e..df90728157d 100644 --- a/public/app/core/components/info_popover.ts +++ b/public/app/core/components/info_popover.ts @@ -40,7 +40,14 @@ export function infoPopover() { openOn: openOn, hoverOpenDelay: 400, tetherOptions: { - offset: offset + offset: offset, + constraints: [ + { + to: 'window', + attachment: 'together', + pin: true + } + ], } });