Open despecial opened 1 year ago
4.1.4.
Normally, if there is only 1 item active and the pagination option is set to true, the dot is hidden. When the type of splide is set to "fade", this is not the case.
https://jsfiddle.net/despecial/cL1etrjv/8/
Fix is included in the JS fiddle
textslider.on("mounted", () => { if (textslider.length === 1) { textslider.options = { pagination: false } } });
Hide the single dot
Checks
Version
4.1.4.
Description
Normally, if there is only 1 item active and the pagination option is set to true, the dot is hidden. When the type of splide is set to "fade", this is not the case.
Reproduction Link
https://jsfiddle.net/despecial/cL1etrjv/8/
Steps to Reproduce
Fix is included in the JS fiddle
Expected Behaviour
Hide the single dot