Closed
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
4.0.7
Description
When arrows
is false, display: none
is applied to the arrows element; however, when pagination
is false the splide component simply doesn't render the dots, leaving the container visible. This is a problem particularly when styles are applied to the container, e.g. background, padding, etc.
Reproduction Link
No response
Steps to Reproduce
- Passing in
pagination: false
to the options. - Inspect the
splide__pagination
element to see that it's still visible, despite being otherwise empty.
Expected Behaviour
When pagination
if false, splide__pagination
should have display: none
applied to it, in case it has been visibly styled.