Closed versello closed 8 years ago
I seemed to have found a fix to my problem.
Commented out line 206: if (data && data.initialized) return;
I have the same problem, however I agree with the solution exposed by @lauth on #11. I mean, just use the method "removeData" before execute destroy method:
$('.your_selector').removeData('jscroll').jscroll.destroy();
This has the same effect exposed by @versello without modify the plugin code.
Thanks @allucardster , fixed my issue with ajax search.
i have same problem with you. i just add:
$('#selector').removeData('jscroll');
it solved my problem.
Having an issue where jscroll doesn't bind after ajax load. I've read "Problem with dynamic content #11" which sounds like my issues, but cannot find a resolution. jscroll doesn't seem to want to find after being destroyed.