Skip to content

Commit c918a82

Browse files
committed
Merge pull request fnagel#117 from substantial/selectmenu
add collision option to position call
2 parents 2edde9c + 3a54e03 commit c918a82

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ui/jquery.ui.selectmenu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,8 @@ $.widget("ui.selectmenu", {
786786
of: o.positionOptions.of || this.newelement,
787787
my: o.positionOptions.my,
788788
at: o.positionOptions.at,
789-
offset: o.positionOptions.offset || _offset
789+
offset: o.positionOptions.offset || _offset,
790+
collision: o.positionOptions.collision || 'flip'
790791
});
791792
}
792793
});

0 commit comments

Comments
 (0)