Comments (11)
Hi @sylvainjule
This behavior is really strange and unexpected for me. I mark this as bug and will try to inspect and fix problem in next few days.
from jquery.scrollbar.
Hi, sorry for delay. Unfortunately I am extremely busy these days and cannot look at this issue now, but I don't forget about it.
from jquery.scrollbar.
No problem at all ! Thanks for looking into it.
from jquery.scrollbar.
I have reviewed your example. I'm afraid I cannot fix it. Unfortunately (I don't know why), children's height in % does not work if parent's height is set to auto
(regardless of min-height
/max-height
values/actual element height), but I need height:auto
because of negative margins that hides native browser scrollbars. So your hack/fix is the best possible option for now.
from jquery.scrollbar.
@gromo i think same problem with flexbox layouts.. can you fix it?
related to % height malihu/malihu-custom-scrollbar-plugin#68
from jquery.scrollbar.
@arturparkhisenko I will look at it in next few days
from jquery.scrollbar.
jQuery scrollbar was easily applied to flexbox container. example on jsFiddle.net: http://jsfiddle.net/6Yrkr/19/
from jquery.scrollbar.
@gromo thanks for check, maybe its just rare case.
example: http://jsbin.com/guqivezejo/9/edit?html,output
before applying: all working fine and like it should be! (you can comment script and see that);
after applying plugin: scrollbar dissapears and padding of applied element is 0.
from jquery.scrollbar.
@arturparkhisenko What about CSS class for scrollbar?
from jquery.scrollbar.
@gromo yep, my bad, forgot it 💡 Thanks!
But i found another problem with a paddings: i cant scroll to the end, and also i cant see the content that behind a paddings, example: https://jsfiddle.net/Lfohe21a/
I can fix it only by adding important here: box-sizing: border-box !important;
In default stylesheet i found that:
.scroll-wrapper > .scroll-content { box-sizing: content-box !important; }
from jquery.scrollbar.
@gromo Спасибо за OSS! 👍 Merry Christmas, и с наступающим Новым Годом! 🎅🎄🎉🏂🎿🎁
Потому что: https://twitter.com/cssunderhood/status/680383777516969985
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.