Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jScrollpane not working with bootstrap selectpicker refresh method #334

Open
JhalakM opened this issue Apr 7, 2016 · 6 comments
Open

jScrollpane not working with bootstrap selectpicker refresh method #334

JhalakM opened this issue Apr 7, 2016 · 6 comments

Comments

@JhalakM
Copy link

JhalakM commented Apr 7, 2016

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.

@vitch
Copy link
Owner

vitch commented Apr 7, 2016

I think the problem is because you are applying jScrollPane to a <ul>. You should wrap this in a <div> and apply jScrollPane there...

@JhalakM
Copy link
Author

JhalakM commented Apr 7, 2016

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.

@vitch
Copy link
Owner

vitch commented Apr 7, 2016

If you can put the demo onto jsfiddle.net then I can try to help

@JhalakM
Copy link
Author

JhalakM commented Apr 7, 2016

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.

@JhalakM
Copy link
Author

JhalakM commented Apr 8, 2016

Hi, @vitch

As requested I have updated code in jsFiddle.net. Please check below URL for demo.

URL : https://jsfiddle.net/ztqq0mzs/8/

Thanks,

@illuusio
Copy link
Collaborator

Is this still issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants