Skip to content

'rtl' slider with multiple elements per page doesn't set is-visible #831

@erhardos

Description

@erhardos

Checks

Version

v3 and v4

Description

When in multiple per page slider, the direction is set to 'rtl' then is-visible class is not applied

example config perPage: 3; direction: 'rtl'

due to it the visible event is not triggered

Reproduction Link

https://codesandbox.io/s/ltr-vs-rtl-example-4d67mo?file=/index.html

Steps to Reproduce

N/A

Expected Behaviour

is-visible is added to visible elements and visible event is triggered

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions