SSENSE/vue-carousel

Bug: pageChange event gives NaN sometimes with mouse drag

Open

#408 建立於 2019年3月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,705 star) (513 fork)batch import
buggood first issuehelp wanted

描述

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)

貢獻者指南