scripty2
scripty2 copied to clipboard
Autocompleter zIndex
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
});