Skip to content

Releases: jerrybendy/vue-touch-events

v3.2.1

16 Mar 09:49
Compare
Choose a tag to compare
  • Add new namespace parameter to solve conflict with vuetify.js
  • Update README

v3.1.0

24 Dec 06:39
Compare
Choose a tag to 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.

v3.0.1

09 Dec 14:59
Compare
Choose a tag to compare
  • Fix swipeTolerance has no effects for the Y axis #65

v3.0.0

18 Nov 02:36
Compare
Choose a tag to compare

Break change:

  • tap event always follow a touchhold event in old versions, and this makes too much trouble. This version changes this behavior. #80

v2.3.0

17 Aug 14:48
Compare
Choose a tag to compare
  • Add disablePassive modifier #74

v2.2.0

14 Feb 16:37
Compare
Choose a tag to 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.

v2.1.0

17 Dec 10:32
Compare
Choose a tag to compare
  • Add touchhold event #35

Add `disableClick` option back

09 Nov 13:37
Compare
Choose a tag to 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.

v2.0.0

26 Mar 06:39
Compare
Choose a tag to 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 the end event can be triggered when touch or mouse events end correctly

v1.1.2

24 Jan 02:25
Compare
Choose a tag to compare
  • Add move and moving events