-
Notifications
You must be signed in to change notification settings - Fork 785
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
how to refresh the slider #242
Comments
Hi, I made a demo and it seems work fine with tabs. |
i have made a pen for my issue using the same plugins i use in my project |
I see. |
You can hide the parent using |
if you mean putting this code to override
|
i am still wondering why the plugin doesn't have yet a Refresh or setPosition methods like any other carousel or slider plugin |
Check out my forked demo, it works well |
Method tab.addEventListener('click', function(e){
container.show(); // make the slider visible
sliders[i].refresh(); // refresh the slider
}); |
Thanks, both solutions (css and js refresh) worked but for js refresh method i had to disable the For now, i will stick with css workaround until next release (with refresh method) |
New version v2.8.3 was published |
using the latest version of tns (2.8.2) the viewport of the slider inside
display: none block
is0
so how to refresh the slider while switching between tabs or showing a modal ?!
The text was updated successfully, but these errors were encountered: