Roo/bootstrap/TimeField.js
authorAlan Knowles <alan@roojs.com>
Mon, 8 Feb 2021 02:55:00 +0000 (10:55 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 8 Feb 2021 02:55:00 +0000 (10:55 +0800)
Roo/bootstrap/TimeField.js

index 9045596..bd9d874 100644 (file)
@@ -341,7 +341,9 @@ Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input,  {
         
         Roo.each(cls, function(c){
             if(c == 'bottom'){
-                _this.picker().setTop(_this.inputEl().getHeight());
+                _this.picker().alignTo(_this.inputEl(), 't-b');
+                
+                //_this.picker().setTop(_this.inputEl().getHeight());
                 return;
             }
             if(c == 'top'){