Skip to content

Commit

Permalink
Reposition dropdown on scroll (for when dropdownParent setting is "bo…
Browse files Browse the repository at this point in the history
…dy" and the control is in a position:fixed container).
  • Loading branch information
brianreavis committed Aug 9, 2013
1 parent 98d8376 commit 5eff6e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ $.extend(Selectize.prototype, {
});

$(window).on({
resize: function() {
'scroll resize': function() {
if (self.isOpen) {
self.positionDropdown.apply(self, arguments);
}
},
mousemove: function() {
'mousemove': function() {
self.ignoreHover = false;
}
});
Expand Down

0 comments on commit 5eff6e1

Please sign in to comment.