Comments (2)
event._constructed 是 better-scroll 派发事件的时候设置的私有属性,如果没有用 better-scroll 的话监听正常的点击事件就可以了。
from better-scroll.
但是event._constructed这个是写在组件里边的,如果是正常的点击事件就直接return掉了,不return掉的话,better-scroll上的点击事件就会触发两次了,难两全啊.....
from better-scroll.
Related Issues (20)
- Where is the picker? HOT 1
- 使用macbook的触控板滑动内容,滚动过程会一直抖动
- [New Feature] Slide 组件如何设置卡片间距?
- wheel插件rotate的时候会产生间距导致点击范围变小
- 为什么on.scroll事件不起作用
- 用在h5填写表单页面中,手机自带键盘弹出后,点击”下一项“,跳转到下一个表单项后页面向上偏移错位,无法滑下来! HOT 1
- 文档字段名拼写错误?
- 文档字段拼写错了?
- pc端无法滚动 HOT 1
- 滚动区域 wrapper如果存在padding-top和padding-bottom,滚动到顶部和底部的时候,padding会被吃掉
- 滚动区域 wrapper如果存在padding-top和padding-bottom,滚动到顶部和底部的时候,padding会被吃掉
- 当启用 click: true 配置派发事件时无法区分是左键点击还是右键点击 HOT 1
- 移动端 pulldown 插件两手操作BUG。 HOT 1
- 点击el-checkbox会锚点,导致滚动区域发生改变
- Zoom插件双指缩放时有概率报错
- 无法触发shadowdom里的点击事件
- uniapp 的移动端使用的时候,click事件与uni.navigateTo同时使用,会导致click触发多次 HOT 1
- [New Feature] Does this plugin support disabling gesture scrolling, which can only be done through the event API.
- 支持虚拟滚动吗
- mouseWheel & wheel 通过鼠标触发 wheel。 这个范例,用滑鼠滚轮选不到第一个跟最后一个选项。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from better-scroll.