Roo/bootstrap/Menu.js
authorjohn <john@roojs.com>
Fri, 10 Aug 2018 05:02:53 +0000 (13:02 +0800)
committerjohn <john@roojs.com>
Fri, 10 Aug 2018 05:02:53 +0000 (13:02 +0800)
Roo/bootstrap/Menu.js

index 3211682..d64572d 100644 (file)
@@ -289,6 +289,8 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             xy[1] = xy[1] - this.el.getHeight() - this.triggerEl.getHeight();
         }
         
+        // but the list may align on trigger left or trigger top... should it be a properity?
+        
         if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
             this.el.setXY(xy);
         }