在iscrolls5类库里面添加一句话&& !utils.preventDefaultException(e.target, this.options.preventDefaultException),
位置在:handleEvent方法里
在github里面也有记载:https://github.com/cubiq/iscroll/issues/876
本文介绍在iscroll5类库中的handleEvent方法内添加特定代码来优化事件处理的过程。通过加入一句代码,可以有效防止特定元素上的默认行为被阻止,提高用户体验。
在iscrolls5类库里面添加一句话&& !utils.preventDefaultException(e.target, this.options.preventDefaultException),
位置在:handleEvent方法里
在github里面也有记载:https://github.com/cubiq/iscroll/issues/876
1627
2539

被折叠的 条评论
为什么被折叠?