cybaer6
cybaer6
Did you try to to set the following css-style after
Did you try breakpoints [https://splidejs.com/options/#breakpoints](url) with the option "perPage"? `breakpoints: { 500: { perPage: 1, }, },`
Did you try "cover"? [https://splidejs.com/options/#cover](url)
I found a css solution for this problem: ``` @media all and (max-width: 480px) { .splide__arrows { display: none; } .splide { padding-left: 0; padding-right: 0; } } ```
The CSS solution is ``` @media all and (max-width: 480px) { .splide__arrows { display: none; } .splide { padding-left: 0; padding-right: 0; } } ```
I found a css solution (but I'm not shure if there is a better solution): ".splide__slide.is-active" is the active slide Please add this style code after the original used stylesheet...
Sorry, but I can't help you in react.js (A JavaScript library for building user interfaces found at [https://reactjs.org/](url)
I don't know if it's a bug, but you start splide like this: `sp = new Splide( '#' + id + '.splide', {` But I think you should only use...
I think you should use this: [https://splidejs.com/apis#state](url) ``` splide.on( 'destroy', function() { // do something console.log("Destroyed"); } ); ``` But it's also working just one time. After upsizing and following...
Also the resize function will only work until splide was destroyed: ``` splide.on( 'resize', function() { if ( ! splide.State.is( splide.STATES.DESTROYED ) ) { // do something. console.log("NOT DESTROYED"); }...