Skip to content

slideChange event should be explained better #417

Description

@Lovor01

It seems to me that slideChange event fires asynchronously and from my debugging experience, when loop mode is activated on slider, activeIndex is sometimes already updated when event is fired and sometimes not. This is confusing and should be explained in documentation.

There is even an issue dating back to 2018 about that: https://stackoverflow.com/questions/50244532/how-can-i-get-the-index-of-the-current-slide-when-the-slide-is-changed

I found that whith transitionEnd event index is consistently updated.

I suggest that events are better explained in documentation, subtle difference between them and in which cases should particular event be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions