Skip to content

Direction pattern parsing fails for perSwipe setting with integer value #712

@jasalt

Description

@jasalt

Glide.js v3.7.1

While trying perSwipe with integer values I noted following console error:

[Glide warn]: Invalid direction pattern [5>] has been used

Looking at the execution in Firefox debugger, it seems that the direction and steps values got parsed the wrong way at some point...

Image

In my case setting "|" to perSwipe value (to swipe the currently visible amount of slides) led to behavior I wanted however so not diagnosing this further for now.

Possibly related: #624 #593 #548

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