Skip to content

Only enable wrapAround when slides fill carouselΒ #809

@desandro

Description

@desandro

Test case: https://codepen.io/desandro/pen/xJQwyV

Addressing #95. If you enable wrapAround, but the slides do not fill the carousel, you'll see a bug where the slides will jump around trying to fill the container. One solution is only enable wrapAround if there's enough content to fill the carousel, so this bug does not occur. This feature could be built into Flickity itself, with something like wrapAround: 'fill'.

Add a πŸ‘ reaction to this issue if you would like to see this feature added. Do not add +1 comments β€” They will be deleted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions