GithubHelp home page GithubHelp logo

Comments (11)

gromo avatar gromo commented on July 20, 2024

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.

gromo avatar gromo commented on July 20, 2024

@sylvainjule

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.

sylvainjule avatar sylvainjule commented on July 20, 2024

No problem at all ! Thanks for looking into it.

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

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.

arturparkhisenko avatar arturparkhisenko commented on July 20, 2024

@gromo i think same problem with flexbox layouts.. can you fix it?
related to % height malihu/malihu-custom-scrollbar-plugin#68

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

@arturparkhisenko I will look at it in next few days

from jquery.scrollbar.

gromo avatar gromo commented on July 20, 2024

@arturparkhisenko

jQuery scrollbar was easily applied to flexbox container. example on jsFiddle.net: http://jsfiddle.net/6Yrkr/19/

from jquery.scrollbar.

arturparkhisenko avatar arturparkhisenko commented on July 20, 2024

@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.

gromo avatar gromo commented on July 20, 2024

@arturparkhisenko What about CSS class for scrollbar?

from jquery.scrollbar.

arturparkhisenko avatar arturparkhisenko commented on July 20, 2024

@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.

arturparkhisenko avatar arturparkhisenko commented on July 20, 2024

@gromo Спасибо за OSS! 👍 Merry Christmas, и с наступающим Новым Годом! 🎅🎄🎉🏂🎿🎁
Потому что: https://twitter.com/cssunderhood/status/680383777516969985

from jquery.scrollbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.