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

Doesn`t work if scroll block is display none #49

Open
uaBirder opened this issue Oct 20, 2014 · 2 comments
Open

Doesn`t work if scroll block is display none #49

uaBirder opened this issue Oct 20, 2014 · 2 comments

Comments

@uaBirder
Copy link

Hello. I need your help.

If scroll block is display none, your plugin doesn't work.
Example: popup on page .. show/hide block.

Tell me please, what can i do ?

@umarfarukm
Copy link

same issue in here.. please help!!

@cefaloide
Copy link

Hello.
I had the same problem and I did this.
I set css property:

.container{
    visibility: hidden
}

and after load plugin I use

$(".container").customScrollbar();
$(".container").hide();
$(".container").css( "visibility", "visible" );

Probably exist a better way.

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

3 participants