Keep last item fixed on the right edge
When navigating and selecting the last item, keep the last item positioned on the right side of the glider.

Currently selecting the last item gives you this.

It would be an improvement if it resulted in this state:

+1
+1
+1
Has anyone found a good workaround for this? I love everything else about this library, but this is a dealbreaker for my design team, unfortunately.
Just introduced new bound option for this feature with https://github.com/glidejs/glide/commit/12928dfce7e32ef70ac1452a2f3fdaa660d7fb23. Would be great if anyone take it for a test run :)
@jedrzejchalubek It works great, although I think it gives an unexpected outcome when the number of items in slider is less than perPage.

I would expect the slider to be "draggable" but leave the slides in their place, but the outcome is as on following screen:

@jedrzejchalubek I made a quick fix for that, but I can't really tell how proper that is in the scope of whole script.
It's to return 0 if length of slides is less than perView setting.
define(Run, 'length', {
/**
* Gets value of the running distance based
* on zero-indexing number of slides.
*
* @return {Number}
*/
get: function get() {
var settings = Glide.settings;
var length = Components.Html.slides.length;
if (settings.perView > length) return 0;
if (Glide.isType('slider') && settings.bound) {
return length - 1 - (toInt(settings.perView) - 1) + toInt(settings.focusAt);
}
return length - 1;
}
});
bound option has been introduced with v3.2.0 release