Closed katriellucas closed 1 year ago
Good catch. Seems to happen when you drag longer than 1.8x the slide width on first or last slide. So a situation that was not handled by the script.
I have made a small change to take this into consideration.
You can test on the examples page - remember to clear your browser cache. Still needs to be released to NPM - waiting for a verification.
Describe the bug Incorrect behavior when dragging slider on its first and last slide, of course this only happens if you are using the extended version of the lib.
To Reproduce Steps to reproduce the behavior:
Expected behavior Either nothing or the slingshot effect, where you try to drag the slider, but as you release, it returns to its original position.
Screenshots
Desktop