Open GoogleCodeExporter opened 9 years ago
You can use an hack.
Forcing nicescroll thinking page is short than real.
You need to overide getContentSize method to force page height.
nice = $("#your-div").niceScroll();
var _super = nice.getContentSize;
nice.getContentSize = function() {
var page = _super.call(nice);
page.h = nice.win.height();
return page;
}
In future I'll add an option to hide vertical/horizontal scroll as css overflow
property does.
Original comment by inuya...@gmail.com
on 3 Apr 2013 at 7:23
Thankyou for this hack! Works great.
Has there been any progress for a native option to disable the vertical scroll
bar? I know there is already a property for the horizontal scrollbar
(horizrailenabled).
Original comment by angelope...@gmail.com
on 21 Nov 2014 at 12:01
Original issue reported on code.google.com by
p.ca...@net-project.it
on 3 Apr 2013 at 1:02