madrobby / scripty2

scripty2: for a more delicious web
http://scripty2.com/
Other
516 stars 57 forks source link

Autocompleter zIndex #24

Open DontShootMe opened 13 years ago

DontShootMe commented 13 years ago

Autocompleter.js The zIndex are not set at the creation time so the list could appears behind other elements :

// Position the menu to appear directly below the input. (function() { var iLayout = this.input.getLayout();
this.menu.element.setStyle({ left: iLayout.get('left') + 'px', top: (iLayout.get('top') + iLayout.get('margin-box-height')) + 'px' , ----------->>> zIndex : 9999 <<<------------ just add this line here to fix it });