Checks
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.
Checks
Version
4.0.7
Description
When
arrowsis false,display: noneis applied to the arrows element; however, whenpaginationis 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
pagination: falseto the options.splide__paginationelement to see that it's still visible, despite being otherwise empty.Expected Behaviour
When
paginationif false,splide__paginationshould havedisplay: noneapplied to it, in case it has been visibly styled.