simonschaufi / sexy-combo

Automatically exported from code.google.com/p/sexy-combo
0 stars 0 forks source link

dropUp : true fix #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. init with sexyCombo({dropUp : true});
2. open it in browser
3. it still goes down

What is the expected output? What do you see instead?
should go up

What version of the product are you using? On what operating system?
sexy-combo 2.1.3, win7 x64, all browsers

Please provide any additional information below.
i believe line 445:
    if (bottomPos > maxShown) {
should be changed to :
    if (this.config.dropUp || bottomPos > maxShown) {

Original issue reported on code.google.com by vir...@gmail.com on 15 Dec 2011 at 11:23