Coder Social home page Coder Social logo

Comments (10)

jamesflorentino avatar jamesflorentino commented on August 22, 2024

Yes the plugin gets the browser scroll bar width and uses that to push the
content div layer's right side to hide the vertical scroll bar.

Can you please tell which OSX you are encountering the problem? Thanks.

On Thursday, May 31, 2012, dbdev wrote:

I've tested the plugin on different OSX machines and when it comes to
Chrome and Safari on some of them I noticed that the container has too much
padding on the right side.

As I understood it has to do with the function getBrowserScrollbarWidth()
then is retrieving the wrong width. Is this a know issue?

Is there a way to fix it?


Reply to this email directly or view it on GitHub:
#51

James O. Florentino
Interactive Designer
http://jamesflorentino.com

from nanoscrollerjs.

dbdev avatar dbdev commented on August 22, 2024

I encountered the issue on Lion and Snow Leopard.

Is there otherwise for Lion the possibility to disconnect the plugin and use the native scrollbar?

Thank you

from nanoscrollerjs.

kristerkari avatar kristerkari commented on August 22, 2024

This bug happens in Chrome because of the rule
.nano .content::-webkit-scrollbar { -webkit-appearance: none; }

I think that I have fixed it by setting
.nano .content::-webkit-scrollbar { visibility: hidden; }
...but I still need to test it out in Safari at least. My personal computer's Safari is crashing, so I need to test it on my work machine.

from nanoscrollerjs.

kristerkari avatar kristerkari commented on August 22, 2024

@dbdev Thanks for reporting this issue! There is now a new release 0.6.2, and it has a fix for this bug.

from nanoscrollerjs.

jamesflorentino avatar jamesflorentino commented on August 22, 2024

You're a force of nature, @kristerkari

On Thursday, May 31, 2012, Krister Kari wrote:

@dbdev Thanks for reporting this issue! There is now a new release 0.6.2
and it has a fix for this bug.


Reply to this email directly or view it on GitHub:

#51 (comment)

www.jamesflorentino.com
Flash | XHTML/CSS | PHP/MYSQL | JS

from nanoscrollerjs.

dbdev avatar dbdev commented on August 22, 2024

Thanks for the fix but I've noticed that in different OSX machines still behaves differently and I also found the cause of it.

In the OS settings -> General -> Show scroll bars: depending of what you have selected it changes the result of the function getBrowserScrollbarWidth().

This makes the nanoScroller to bug in the same way as before.

from nanoscrollerjs.

kristerkari avatar kristerkari commented on August 22, 2024

Oh yeah, true. I have to do some further investigating.

from nanoscrollerjs.

kristerkari avatar kristerkari commented on August 22, 2024

Okay, made more fixes in 2ae43e9

@dbdev can you test if these fixes work for you?

from nanoscrollerjs.

dbdev avatar dbdev commented on August 22, 2024

Well done!! Now it works perfectly in any situation.

from nanoscrollerjs.

kristerkari avatar kristerkari commented on August 22, 2024

Great! Thanks for helping me to fix it, guess it's time for another release then :)

from nanoscrollerjs.

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.