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

Unable add nano scroll on body element? #335

Open
Ram-SR opened this issue Jan 31, 2018 · 1 comment
Open

Unable add nano scroll on body element? #335

Ram-SR opened this issue Jan 31, 2018 · 1 comment

Comments

@Ram-SR
Copy link

Ram-SR commented Jan 31, 2018

I want ro add nano scroll on body element. But as per the docs, the structure should be
<div class="nano"><div class="nano-content"></div></div>

then how to add nano scroll on body element?

@kristerkari
Copy link
Collaborator

I don't think that having nanoscroller on body element is supported, the library is meant to be used with div elements. You can of course try to see if it happens to work with body + a div element.

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