Comments (2)
Yep, I know about this - it was designed so. As I don't know padding value of inner content (and even if I know) I can't/shouldn't change it. So, to make "outer" scrollbar I have to push content with negative margins that makes native scrollbar visible.
The best way in your case is to make your own CSS customizable scrollbar based on simple inner scrollbar styles and add padding-right to your content when scrollbar is visible (special class is added to wrapper).
from jquery.scrollbar.
Thanks for the feedback, yes it works with inner scrollbar, this is just what I did.. :)
from jquery.scrollbar.
Related Issues (20)
- jQuery Maximum call stack size exceeded HOT 1
- Disable jquery scrollbar for iOS? HOT 2
- vertical scrolling stuck when the scrollbar-content is forced shifted HOT 3
- prohibit the scroll bar scroll HOT 1
- Not working in Firefox 57 HOT 2
- How to destroy this plugin HOT 1
- scroll-bar drag and drop support on touch device HOT 5
- Invalid regular expression: /(^|\.)scrollbar_2(\.|$)/ HOT 3
- Ignore webkit/blink browsers HOT 2
- archive project / search for maintainers HOT 5
- Как перейти сразу в конец блока? ("go to end" button) HOT 1
- scrollbar not working with latest version of jquery 3.3.1 HOT 2
- Scrollbar not initialized on touchpad devices HOT 4
- backward scroll not working oninit HOT 1
- How do I scroll to an id of an element? HOT 2
- I am seeing two scrollbars in (Responsive Mode in Firefox)
- scrollbar is jumping to beginning after click elem select HOT 2
- ght range error $.ajax HOT 4
- Firefox , IE and Edge native scrollbar HOT 1
- OnScroll event firing before initialize
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.scrollbar.