Autocompleter zIndex #24

Open
DontShootMe opened this Issue Mar 4, 2011 · 0 comments

Comments

Projects
None yet
1 participant

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
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment