be-fe / be-fe/iSlider

bug:当点击内容里的事件时,插件不自动滚动了

Open
#450 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
441
PR merge metrics
No merged PRs in 30d

Description

var islider = new iSlider({
data: isliderList,
dom: document.getElementById('islider-effect'),
isAutoplay: true,
isLooping: true,
isOverspread: true,
animateTime: 800,
duration: 3000,
fixPage: false,
oninitialized: function(){
demoClick();
},
onSlideChanged: function(){
demoClick();
}
});

demoClick(); 事件点击后,自动滑动功能就停止了。
这个怎么解决呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the iSlider configuration shown, especially the demoClick calls from oninitialized and onSlideChanged. Trace the click behavior and autoplay state after a content event; it is done when autoplay continues normally after that click.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.