Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.83k stars 418 forks source link

Many Options don't work #1212

Open fourroses666 opened 1 year ago

fourroses666 commented 1 year ago

Checks

Version

v4.1.2 and v4.0.17

Description

When I try below options on my demo they don't do anything. I would like to remove the drag, arrows, dots and hover over. I do use the extention autoscroll so maybe thats related?

pauseOnHover: 'false',
drag        : 'false',
slideFocus  : 'false',
arrows      : 'false',
pagination  : 'false',

Reproduction Link

https://codepen.io/rafael-andrews/pen/Vwxvmgg

Steps to Reproduce

Add the options;

pauseOnHover: 'false',
drag        : 'false',
slideFocus  : 'false',
arrows      : 'false',
pagination  : 'false',

Expected Behaviour

Remove the drag, arrows, dots and hover over.

petrsiegl commented 1 year ago

You have set it as a boolean, not a string:

pagination  : false,
fourroses666 commented 1 year ago

Ah nice one. Any idea why pauseOnHover: false, doesn't work?

mozart77 commented 1 year ago

Also "speed" doesn't work for me. Looks like "transform: transition ..." doesn't set for .splide__list class in CSS. All demos on the main page https://splidejs.com/ have no slide effect. Looks like switcher not slider :)