jScrollPane
jScrollPane copied to clipboard
jScrollpane not working with bootstrap selectpicker refresh method
Hello,
@vitch
I have tried to integrate jScrollpane custom scroll bar with bootstrap select picker dropdown. When we remove any option element
from dropdown and refresh it using selectpicker refresh method/ jScrollpane scrollbar stopped working. Please have a look on attached demo link to get more idea. Let me know the solution.
Demo URL : http://dropdown-test.iprojectlab.com/
Thanks.
I think the problem is because you are applying jScrollPane
to a <ul>
. You should wrap this in a <div>
and apply jScrollPane there...
That was also won't work. Its not even taking scroll in first time If I will apply to <div>
. Apart, I have to apply it in <ul>
tag and in first time its working proper. but not in second time when I will refresh my element option using selectpicker.
If you can put the demo onto jsfiddle.net then I can try to help
I am not able to update it in JSFiddle but I have updated code in github. If you can check using this. https://github.com/JhalakM/dropdown-demo.git Please do the needfull.
Thanks.
Hi, @vitch
As requested I have updated code in jsFiddle.net. Please check below URL for demo.
URL : https://jsfiddle.net/ztqq0mzs/8/
Thanks,
Is this still issue?