I used to use the vue-seamless-scroll plug-in is normal, recently suddenly found that can not scroll, but the plug-in is a rendering dom, on the page for a long time did not find the reason, please give advice!
reference: import vueSeamlessScroll from "vue-seamless-scroll"
html:
<vueSeamlessScroll :data="listData" :class-option="defaultOption" class="seamless-warp">
<ul class="item">
<li v-for="(item, index) in listData" :key="index">
<span class="title">{{$t("cs1111")}}:</span><span class="date">{{item}}</span>
</li>
</ul>
</vueSeamlessScroll>
configuration:
computed: {
//
defaultOption () {
return {
step: 1, //
limitMoveNum: 5, // this.dataList.length
hoverStop: false, // stop
direction: 0, // 0 1 2 3
openWatch: true, // dom
singleHeight: 0, // (0) direction => 0/1
singleWidth: 0, // (0) direction => 2/3
waitTime: 1000 // (1000ms)
}
}
},