-
Notifications
You must be signed in to change notification settings - Fork 162
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
Native scrollbar not being hidden in latest Chrome on Lion #46
Comments
@davemckenna01 Issue #40 has a proposed commit that fixes this. |
@Radagaisus @pirxpilot The problem still persists in Chrome 25 on Lion. I'm looking in to it, but so far no luck. |
@davemckenna01 Hi, we use a slightly modified version of Antiscroll, but I just copy pasted the suggested fix into our code and it worked. |
@Radagaisus on Lion though? B/c I copy pasted the code as well and no change. But I did just get it to work with the CSS fix @epitrochoider suggested in the comments in issue #40 : .box-wrap ::-webkit-scrollbar However, maybe the following would be a better solution to include in the library css file: .antiscroll-wrap ::-webkit-scrollbar { |
My PR fixes this. The demo at http://learnboost.github.com/antiscroll/ continues to use a version of the code that is still broken in Chrome Lion. Check out my branch chrome-25-lion-issues and open the demo index.html file, you won't see two scrollbars. |
Can we do a pull request for the demo as well? Thanks! On Wed, Feb 27, 2013 at 2:06 PM, Dave McKenna [email protected]:
Guillermo Rauch |
@davemckenna01 Ah, good to know. Thanks! |
@davemckenna01 I've updated the demo page to use the current antiscroll.js. Seems to fix the error on Windows/Chrome, can you confirm if it works for you (Lion/Chrome) ? We can then happily close this. |
@gnatih the issue persists on Lion/Chrome 25, just checked. It's a weird bug - the only way I've found to fix it is in my PR. The solution seems crazy but it works. |
Give scrollbar pseudo-classes their own blocks, fixes issue #46
Looks like the latest Chrome update has something funny going on with hiding native scrollbars. See screenshot - you get the custom antiscroll scrollbar overlaid on top of the native one. Screenshot is from Chrome 25.0.1364.99.
A co-worker has 24.0.1312.56 and this problem doesn't occur.
Related to issue #40 and the fix proposed in that commit, but the fix doesn't work on Lion.
The text was updated successfully, but these errors were encountered: