Closed todoroff closed 3 years ago
Definitely a bug. I wasn't clamping the viewport when options.dragScroll=false
. I fixed it in v2.2.1.
Neat! Would you mind pushing it to npm as well? Cheers
Weird. I thought I had published it to npm. It's now there as 2.2.1.
I'm only using a horizontal scrollbar and I'm getting an infinite scroll when I set
dragScroll
tofalse
. In other words I can keep scrolling past thescrollWidth
. I can scroll as much as I want to the left and until the scrollbar disappears to the right (but still well past the requiredscrollWidth
).I wonder if it could be related to the
_bounds
property's values, although those look exactly the same with or without drag enabled?