2 scrollbars on MacOS Chrome #2
See original GitHub issueHi 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:
<CustomScroll heightRelativeToParent="calc(100%)">
{this.renderList(predictions)}
</CustomScroll>
here is an online demo, look at Predictions block.
What I do wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Chrome: Scrollbar is showing on Windows but NOT Mac
On Mac, the scroll only appears when there is something to scroll, and the ugly arrows do NOT show. How can I may...
Read more >Two Browsers Walked Into a Scrollbar | Filament Group, Inc.
This preference was confirmed to control how scrollbars behave in Chrome, Firefox, and Safari, and new Chromium-based Edge. The following video ...
Read more >How do I fix this annoying Chrome for macOS scroll bar issue?
Try going to system settings > general > show scroll bars > always.
Read more >An additional scroll bar appears at the right on many sites
Open any embedded youtube video in facebook and i get an additional scroll bar at the right. 2. The additional scroll bar appears...
Read more >How to Show or Hide Scroll Bars in Mac? - WebNots
Scrolling Direction of Scroll Bars in Mac · Go to “Apple Menu > System Preferences…” and click on “Trackpad” option. · Click on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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 will publish a major version with the fix sometime next week, including tests for the changes.
I’ve pushed the fix to a branch for now, it’s not fully ready but should work. Can you please try and check if the it fixes the issue in your site ? To check:
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 I published version 3.0.0 with the fix. Please let me know if the issue persists. Also, I would appreciate if you could star this repo, thanks