-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
2 scrollbars on MacOS Chrome #2 #35
Comments
@AnarH93 I'm checking |
@AnarH93 I found a solution for the issue, it's not simple, as it involves changing the dom structure of the custom scroll, and might break previous usages if someone assumed a specific dom structure, in css selectors for example. I've pushed the fix to a branch for now, it's not fully ready but should work.
To check if you got the correct css, after you reload your project with the fixed version, check that the div with class "positioning" (first child of outer-container) has position: relative. |
@AnarH93 Please check that this solves the issue, I'm waiting for your response before I publish a new version to NPM |
Sorry, I was busy on this days. I check it now and it works perfectly, thanks! |
I'm considering an alternative solution, that will be more backwards compatible. |
Turns out this only happens on Chrome on retina displays. |
@AnarH93 I published version 3.0.0 with the fix. |
It turns out using GPU has some suprising effects in Chrome. |
Hi all, I have the same problem on my macOS with Chrome, which was mentioned in #10 by @dnish
I checked and removed all overflow properties on parent blocks, add the max-height rule, but still have 2 scrolls.
code:
here is an online demo, look at Predictions block.
What I do wrong?
The text was updated successfully, but these errors were encountered: