Roo/bootstrap/Tooltip.js
authoredward <edward@roojs.com>
Wed, 2 Aug 2017 06:11:06 +0000 (14:11 +0800)
committeredward <edward@roojs.com>
Wed, 2 Aug 2017 06:11:06 +0000 (14:11 +0800)
Roo/bootstrap/Tooltip.js

index c75415e..69be31b 100644 (file)
@@ -260,7 +260,7 @@ Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component,  {
             
             var scroll = Roo.select('body', true).first().getScroll();
             
-            if(xy[1] > Roo.lib.Dom.getViewHeight() + scroll.top){
+            if(xy[1] > Roo.lib.Dom.getViewHeight() + scroll.top - 100){
                 placement = 'top';
             }