Skip to content

Commit

Permalink
fix: options for custom scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
przemekfingoweb committed Apr 9, 2016
1 parent 62c6375 commit c868d48
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions dist/js/standalone/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1291,11 +1291,17 @@
};

$input.attr('tabindex', -1).hide().after(self.$wrapper);
//PRZEMEK_TUTAJ
// scroll bar options
self.$wrapper.find('.selectize-dropdown').mCustomScrollbar({
setHeight: 1,
axis: 'y'
});
autoHideScrollbar: false,
theme: 'light',
axis: 'y',
advanced: {
updateOnContentResize: true
},
setHeight: 400,
scrollInertia: 0
}).addClass('scroll-bar-select');

if ($.isArray(settings.items)) {
self.setValue(settings.items);
Expand Down

0 comments on commit c868d48

Please sign in to comment.