NeXTs / Clusterize.js

Tiny vanilla JS plugin to display large data sets easily
https://clusterize.js.org
MIT License
7.22k stars 412 forks source link

x-scrollbar "disappears" when using left-side y-scrollbar #152

Open MPagel opened 6 years ago

MPagel commented 6 years ago

when overflow-x is set to hidden, and the clusterize-scroll#scrollArea element is set to direction: rtl to flip the vertical scrollbar, the horizontal scrollbar disappears (without the fix below).

Here is my left side scrollbar solution, in which I had to add another panel below the table in order for it to have a horizontal scrollbar. This works in both Firefox and Chrome.

https://codepen.io/anon/pen/vrJVPw

The y-scrollbar gets hidden when using the horizontal scroller, as it's part of the moving content. An alternate work-around to get left side and bottom scrolling theoretically would be to not do the rtl and ltr flip (here) to get the left-side y-scrollbar, but rather to have a separate div panel on the left for the scrollbar, implemented similar to the way the bottom scrollbar is implemented here.