If one creates a Bootstrap Select inside .main-panel which has Perfect Scrollbar applied, and also enables scrolling in select's list by adding data-size attribute, scroll event is not propagated to select list. So as documentation suggests, add .ps-child class to propagate onscroll event.. but where?
So I suggest to modify bootstrap-selectpicker.js by adding ps-child to line 679: '<div class="inner ' + classNames.SHOW + ' ps-child" role="listbox"... so the event is propagated by default. (also please find attached the .js file)
bootstrap-selectpicker.zip
If one creates a Bootstrap Select inside
.main-panel
which has Perfect Scrollbar applied, and also enables scrolling in select's list by addingdata-size
attribute,scroll
event is not propagated to select list. So as documentation suggests, add.ps-child
class to propagate onscroll event.. but where?So I suggest to modify bootstrap-selectpicker.js by adding
ps-child
to line 679:'<div class="inner ' + classNames.SHOW + ' ps-child" role="listbox"
... so the event is propagated by default. (also please find attached the .js file) bootstrap-selectpicker.zip