@@ -10,7 +10,7 @@
'stag-h-scroll-width': scrollWidth,
'stag-h-width': width,
});
- if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop()) {
+ if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop() - _bottomThreshold) {
stagScrollbarUI.css({
display: 'block',
left: ($container.offset().left + 4) + 'px',