snap-slider icon indicating copy to clipboard operation
snap-slider copied to clipboard

Simple JavaScript plugin to manage sliders using CSS Scroll Snap.

Results 16 snap-slider issues
Sort by recently updated
recently updated
newest added

Please consider adding an option for customizing "is-current" class on active slide.

Hello Tanner, Any idea how I would make the slider also draggable for desktop devices. I tried to implement something like this https://htmldom.dev/drag-to-scroll But I guess scroll-snap and the normal...

documentation

![Slowly but surely](https://i.imgur.com/oGy8HRt.gif) ## 📦 Latest Release [v3.0.0-alpha.2](https://github.com/tannerhodges/snap-slider/releases/tag/v3.0.0-alpha.2) ## 🚧 Todo - [ ] Fix callback parameters. - [ ] Fix/replace failing tests. - [ ] HTML tests for prev/next...

### Feature Request: It would be great if we could improve the UX when there are multiple slides visible at the same time. For reference, check out the [Basic Example](https://tannerhodges.github.io/snap-slider/)....

enhancement

Issue was reported where trying to call `slider.goto({ focus: false })` ended up still focusing the slide in Safari. Seems like the `scroll.end` event is somehow delayed in Safari, and...

bug

When we use goto buttons NEXT and PREV, slides are scrolling smoothly. But when we use goto buttons with numbers and sequentially (first click on button 1, second click on...

Hi Tanner, Would it be possible to center the first item / or active item? I tried snap align center, or add a margin left to the first item: https://stackblitz.com/edit/vitejs-vite-rzkbgm?file=index.html,main.js,style.css,package-lock.json&terminal=dev...

For autoplay implementation, I think we should use requestanimationframe (and requestidlecallback) instead of using interval which block the browser paint.

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1. Commits 5b44c1b 3.0.1 9fbc20a chore: better number regex 41ae98e Cleanup c59f35e Move to Sideway See full diff in compare view Maintainer changes This version...

dependencies