[Bug report] scrollbar doesn't work when env.scrollSize is 0

Hi,

As you can see in this snippet: Code Snippet
when webix.env.scrollSize = 0, the vertical scrollbar doesn’t work on datatable whereas it work well on list.
The scrollbar appear on mouse wheel scroll but can’t be catched by clicking on it.

This is a problem on (i think most) Linux system because the scrollbar are invisible and appear when mouse move or scroll (same as CustomScroll feature) and so the _detectScrollSize function of webix code return 0.

We expect the scroll bars to work as they are working system wide for datatables (and as they work for lists)

As a workaround we can enforce the value to 15 just before calling webix.ui(...) or using the CustomScroll pro feature.

Second problem, since webix 9.2, the CustomScroll feature has the same issue.

Hello, @Fabien
Honestly, the scrollSize property is read-only. It only returns the current width of the scroll bar.
We will update our documentation to highlight it.
Thank you.

Yes, I’ve forced the value in snippet to demonstrate the problem on any system. But in webix code this value is defined using the _detectScrollSize function which return 0 on (most of) Linux systems. (At least with Firefox and some webkit-based browsers, blink seems to be spared) and so the bug appear.

@Fabien , yes, you are right. It seems there is an issue with scrollbars and Linux.
We will fix it.