ftlabs/ftscroller

Visible scrollbars

Closed this issue · 2 comments

Is there a way of having the scrollbars visible all the time, and not fade away?

Hi @patriklund,

We thought about adding this as an instantiation option but decided not to - because you can already achieve the same thing, with a bit more control, via CSS.

You can target scrollbars - either generally or within certain elements only - by targetting rules against the class .ftscroller_scrollbar. There's also .ftscroller_scrollbary and .ftscroller_scrollbarx if you want to target individual elements.

The scrollbars are hidden by setting opacity: 0 on them by default, so you can override that to make them visible, or amend other properties for custom appearances.

Hope that helps :)

Ok Thanks, good to know.