Jacob Bearce

Results 96 comments of Jacob Bearce
trafficstars

Sure thing, I've moved that in to a variable.

Actually, I think it might've messed up the slideRight transition, investigating...

Fixed, I was calling `me.p.sliderOffsetWidth` instead of `me.p.slider.offsetWidth` for `slideRight`.

@osrec have you had a chance to take a look at this? Would love it to get merged in to master.

Any status update on this? Would love to start using this script more regularly

Here's a video demonstrating how this works: https://gfycat.com/PositiveNastyGrayfox

Something like `onDrag` that returns the current percentage completion could work nicely for this... I could do something like... onDrag: (position) => { OVERLAY.style.opacity = position / 2; }

This seems to be weirdly intermittent, not sure what's up with it. More testing needed.

Commented earlier and deleted because I was wrong – I've now figured it out. This started occurring again after I switched from CommonJS syntax to ESM syntax. No idea why,...