SSENSE/vue-carousel

Bug: pageChange event gives NaN sometimes with mouse drag

開放

#408 建立於 2019年3月26日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (513 個分叉)batch import
buggood first issuehelp wanted

倉庫指標

星標
 (1,705 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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)

貢獻者指南