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

Animation on height resize #280

Open
OscarGalindo opened this issue Feb 10, 2015 · 1 comment
Open

Animation on height resize #280

OscarGalindo opened this issue Feb 10, 2015 · 1 comment

Comments

@OscarGalindo
Copy link

Hi!

Is not whether it is a problem with nanoScroller or me, i have the .nano with max-height 400px, and the .nano-content height 100%, the content is a list with 10-15 items and when you click inside one, it toggle a div just after the li with information. The problem is the nanoscroller, change the size of the height dynamically without animation and make an ugly effect, here the code i use:

div.slideToggle("fast", function() {
    $('.tabs .acordeon:visible').nanoScroller({
        alwaysVisible: true,
        contentClass: 'scrolltrack'
    });
});

Thanks in advance!

@kristerkari
Copy link
Collaborator

Is it possible to get a small demo your problem? You can use services like Jsfiddle or Jsbin for it.

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

No branches or pull requests

2 participants