Browse Source

fix: scroll issue and positioning of info-popover

Torkel Ödegaard 8 years ago
parent
commit
dd3e594dd7
1 changed files with 8 additions and 1 deletions
  1. 8 1
      public/app/core/components/info_popover.ts

+ 8 - 1
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
+                }
+              ],
           }
         });