Re:Show HN: Popper.js, a 3KB library to manage tooltips and ...
by chipperyman573 on Wednesday April 06, 2016 @01:29PM
(#11440240)
In my opinion the only one that wasn't immediately obviously an example was the scroll one, due to the lack of scrollbars (I thought "scroll" was referring to the page and was confused about why it wasn't moving when I scrolled the page).
[ Parent
| on HN ]
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ...
by FezVrasta on Wednesday April 06, 2016 @01:31PM
(#11440255)
Stupid mac scrollbars :P I'll do something to increase the visibility of the examples then. Thanks again!
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ...
by developer2 on Wednesday April 06, 2016 @07:56PM
(#11443401)
I wouldn't recommend the CSS route as you'd be working against a core OS feature. On OS X: System Prefs > General > Show scroll bars > "Automatically based on mouse or trackpad"; "When scrolling"; "Always".
It's possible via something like [1], but the problem is you are hardcoding colors for a specific OS version. The example given in the link is a much darker scrollbar than is present in Yosemite.
I'd just go the route of labeling the example more explicitly. By the way, nice job on the site. Very snazzy, and you didn't make the mistake a lot of people make which is to hijack the native scrolling.
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ...
by alanh on Wednesday April 06, 2016 @04:48PM
(#11441976)
I think there is CSS that can make your scrollbars actually visible
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ...
by riccardoforina on Thursday April 07, 2016 @03:05AM
(#11445289)
::-webkit-scrollbar {
width: 1em;
}