CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 51
Releases: jerrybendy/vue-touch-events
v3.2.1
Compare
Assets 2
v3.1.0
Compare
- Resolve touch through issue with a global timestamp
Add a globalLastTouchTime
variable to track all touch behaviors and record latest touch time. If a click
event follow a touch
event, and the time difference less than 350ms, this click
event will be ignored. This would resolve touch through issue, but you must make sure your click events are binding with v-touch
.
Assets 2
v3.0.1
Compare
Assets 2
v3.0.0
Compare
Break change:
tap
event always follow atouchhold
event in old versions, and this makes too much trouble. This version changes this behavior. #80
Assets 2
v2.3.0
Compare
Assets 2
v2.2.0
Compare
- Add
v-touch-options
directive
Now you can use v-touch-options="{}"
to set different configurations for different components. All global configurations are supported.
Assets 2
v2.1.0
Compare
Assets 2
Add `disableClick` option back
Compare
I realized that using event timestamp to solve click pass-through issue is not a good idea, because when click pass-through issue happens, the touch event and the mouse event often be triggered on different elements.
Assets 2
v2.0.0
Compare
This is a brake change for old version. We removed disableClick
parameter and using event timestamp to prevent click event when touch is available.
- Combine touch and mouse events in one method
Typescript
supports- Fix a bug of
end
event. Now theend
event can be triggered when touch or mouse events end correctly
Assets 2
v1.1.2
Compare
- Add
move
andmoving
events