rauchg / TextboxList

MooTools tokenizer
100 stars 35 forks source link

Adding Explicity z-index for Dropdown Bug #8

Open jdao opened 12 years ago

jdao commented 12 years ago

Adding an explicit z-index css attribute to handle the bug of dropdown appearing behind some other html elements.

diff --git a/Source/TextboxList.Autocomplete.css b/Source/TextboxList.Autocomple index 9a6d865..bdd12b3 100644 --- a/Source/TextboxList.Autocomplete.css +++ b/Source/TextboxList.Autocomplete.css @@ -4,7 +4,7 @@ Purchase to remove copyright */

-.textboxlist-autocomplete { position: absolute; } +.textboxlist-autocomplete { position: absolute; z-index: 1; } .textboxlist-autocomplete-placeholder, .textboxlist-autocomplete-results { opac .textboxlist-autocomplete-placeholder { padding: 5px 7px; } .textboxlist-autocomplete-results { margin: 0; padding: 0; }

xavi- commented 12 years ago

Pull request to fix issue: https://github.com/guille/TextboxList/pull/9

jdao commented 12 years ago

thanks Xavi-