Skip to content

splide__pagination still visible when pagination option is false #866

Closed
@michaeljonathanblack

Description

@michaeljonathanblack

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

  1. Passing in pagination: false to the options.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdoneFinished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions