Using Vue2 iscroll5, the initialization can be completed, but it cannot slide at all in Google Chrome mobile mode, and it slides normally in non-mobile mode.
The code that exactly follows the official example is as follows:
import IScroll from 'iscroll'; export default { name: 'app', data() { return { msg: [] } }, mounted: function() { this._initScroll(); }, methods: { _initScroll() { this.iscroll = new IScroll(this.$refs.wrap); } }, components: {} }
It is recommended to use vue-iscroll-view
It should be a browser problem, you can try it
Click twice