Closed jfgodoy closed 9 years ago
I think scrollbar.update('bottom') it should be align at the bottom only if does not fit in the viewport. ie instead of
scrollbar.update('bottom')
case "bottom": this.contentPosition = this.contentSize - this.viewportSize; break;
use
case "bottom": this.contentPosition = Math.max(this.contentSize - this.viewportSize, 0); break;
what do you think?
Yes you are right. Thanks for the fix.
Released this in 2.1.9
I think
scrollbar.update('bottom')
it should be align at the bottom only if does not fit in the viewport. ie instead ofuse
what do you think?