SSENSE/vue-carousel

Bug: pageChange event gives NaN sometimes with mouse drag

Offen

#408 geöffnet am 26.03.2019

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (513 Forks)batch import
buggood first issuehelp wanted

Repository-Metriken

Stars
 (1.705 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Bug Report

Current Behavior On mouse drag on the last slide, sometimes pageChange event gives NaN while remaining on the same slide where mouse was dragged upon and after that carousel becomes non-operational on mouse drag(slides do not move at all).

Did not face this issue with custom navigation buttons however.

Input Code and steps to reproduce Attaching screenshot of console log, where pageChange event handler logs the page number.

Screen Shot 2019-03-26 at 6 51 42 PM

Expected behavior/code pageChange event shouldn't be triggered, if there is no slide change at all.

Babel Configuration (.babelrc, package.json, cli command)

Contributor Guide