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

Getting rid of native scrollbar #75

Closed
cupofcrazy opened this issue Oct 2, 2017 · 4 comments
Closed

Getting rid of native scrollbar #75

cupofcrazy opened this issue Oct 2, 2017 · 4 comments

Comments

@cupofcrazy
Copy link

cupofcrazy commented Oct 2, 2017

Hi Baptiste, I'm trying to figure out how to remove the native scrollbar. Setting the element to overflow: hidden; doesn't cut it. Any other options? Thanks.

@baptistebriel
Copy link
Owner

@cupofmint Have you looked at using the option native: false ? This will use virtual-scroll instead of native scrolling.

@cupofcrazy
Copy link
Author

Yeah. When I set it to native: false , the smooth scroll stops and the native scrollbar is still visible.

@baptistebriel
Copy link
Owner

Not if you have overflow: hidden; on the scrollable element. See this demo for an example!

@baptistebriel
Copy link
Owner

Hi @cupofmint — are you still having the same problem?
Wondering if I can close this issue.

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