Skip to content

Bug: scrollDistance=screen will sometimes ignore the last page #1095

Open
@joekur

Description

@joekur

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Code Sandbox link

No response

Bug report

Noticed on the demo site - https://commerce.nearform.com/open-source/nuka-carousel/. If I size my browser (Chrome) to a width >1620px, the carousel will only think there is a single page (and not render any next/prev buttons):

Image

A viewport less than this works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions