glide
glide copied to clipboard
How can I get a slider with a single slide in it to still 'reserve' the spots for slides that don't exist yet? Right now it's centering the only slide, and instead I want it to appear in slot 0 of whatever the perView setting is.
I have an ecommerce widget that shows Recently Viewed items and if they have only viewed one item, I just want that one item to appear in slot 0 of 5, for instance. If there are 2 slides, then I want them in slot 1 & 2 of 5. How can I get my sliders to do this instead of it dividing the width of the slider by the number of slides?

I'm guessing there's no good solution for this right now? I've skimmed the settings multiple times and can't wrap my head around a solution unless I add empty slides.