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

nicescroll not working with toggleClass [twice class in same div] #809

Open
Ibrram opened this issue Jun 6, 2019 · 0 comments
Open

nicescroll not working with toggleClass [twice class in same div] #809

Ibrram opened this issue Jun 6, 2019 · 0 comments

Comments

@Ibrram
Copy link

Ibrram commented Jun 6, 2019

hello
i trying use nicescroll in Side Navigation

<div class="sideNav">
     Content
</div>

Right Now NiceScroll Working
i need to hide this div so i gave it

  -moz-transform:     translate(-100%);
  -webkit-transform:  translate(-100%);
  -o-transform:       translate(-100%);
  -ms-transform:      translate(-100%);
  transform:          translate(-100%);

and with JQuery toggleClass
to add class show

<div class="sideNav show">
     Content
</div>

and show class have

  -moz-transform:none;
  -webkit-transform:none;
  -o-transform:none;
  -ms-transform:none;
   transform:none;

Now NiceScroll Not Working

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

1 participant