Scroller of scrollbar appears when not needed

Hello Webix Team!

Please look at this snippet:

https://snippet.webix.com/nz9utg0t

There are 5 data rows, and the yCount is 5, so there should not be anything to scroll vertically. Yet a vertical scroller appears in the vertical scrollbar area (it seems it’s there to only scroll a single pixel).

I can make the scroller disappear by making “yCount: 6”, but then some blank space appears inside the table.

How do I get rid of that vertical scroller?

Thanks!
Alexis

Hello @alexis,

I can confirm the issue, thank you for the report! The bug will be fixed in the nearest future.

Unfortunately, there doesn’t seem to be a way to modify the height of the datatable once the yCount property has been specified. As a workaround, I would like to suggest an alternative to the yCount property which would work in a similar way: calculate the height of the table based on the specified amount of rows, but take into the account scroll visibility. Please take a look at the following example: https://snippet.webix.com/yq5k3762.