1 | # 3.9.0
|
2 |
|
3 | * add `onTap` functionality. Thanks [@anicke](https://github.com/anicke) . [#61](https://github.com/dogfessional/react-swipeable/pull/61) [#39](https://github.com/dogfessional/react-swipeable/issues/39)
|
4 | * added persisting synthetic event in example via `e.persist()`. This should help people see more details in the console when debugging in the [example](http://dogfessional.github.io/react-swipeable/).
|
5 |
|
6 | # 3.8.0
|
7 |
|
8 | * Allow `onMouseDown`, `onMouseUp`, and `onMouseMove` props to fire appropriately again. [#55](https://github.com/dogfessional/react-swipeable/pull/55), thanks [@lochstar](https://github.com/lochstar)
|
9 | * Stop using this.state to track swipes, thanks [@grantila](https://github.com/grantila) for pointing out this change and submitting PR, [#58](https://github.com/dogfessional/react-swipeable/pull/58). Should provide minor performance gains since `Swipeable` will no longer be calling `this.setState` internally.
|
10 |
|
11 | # 3.7.0
|
12 |
|
13 | * add ability to track mouse events as touch events. Thanks [@jakepusateri](https://github.com/jakepusateri) and [@Marcel-G](https://github.com/Marcel-G). [#51](https://github.com/dogfessional/react-swipeable/issues/51)
|
14 |
|
15 | # 3.6.0
|
16 |
|
17 | * add stopPropagation prop for all swipe events, defaults to `false`. See [#46](https://github.com/dogfessional/react-swipeable/issues/46) for more info.
|
18 |
|
19 | # 3.5.1
|
20 |
|
21 | * fix React 15.2.0 warning for unknown properties on DOM elements
|
22 |
|
23 | # 3.5.0
|
24 |
|
25 | * Add configurable container element via `nodeName` prop, defaults to `'div'`. See [#24](https://github.com/dogfessional/react-swipeable/issues/24) and [#40](https://github.com/dogfessional/react-swipeable/pull/40) for more info.
|
26 |
|
27 | # 3.4.0
|
28 |
|
29 | * Add preventDefault while swiping when props `onSwipedLeft`, `onSwipedRight`, `onSwipedUp`, and `onSwipedDown` are present. See [#21](https://github.com/dogfessional/react-swipeable/issues/21) and [#37](https://github.com/dogfessional/react-swipeable/pull/37) for more info.
|
30 |
|
31 | # 3.3.0
|
32 |
|
33 | * Adds `velocity` data to `onSwiping` callback
|
34 | * Updated the build process introducing ES2015 and babel
|
35 |
|
36 | # 3.2.0
|
37 |
|
38 | * Adds `preventDefaultTouchMoveEvent` option, defaults to true
|
39 |
|
40 | # 3.1.0
|
41 |
|
42 | * Adds `isFLick` to onSwipe events
|
43 | * Removes React as a peer dep
|
44 | * Adds onSwiping events
|
45 |
|
46 | # 3.0.2
|
47 |
|
48 | * Fixes onSwipeDown and onSwipeUp events
|
49 |
|
50 | # 3.0.1
|
51 |
|
52 | * Fixes vertical swiping
|
53 |
|
54 | # 3.0.0
|
55 |
|
56 | * Refactors build into jsx.
|
57 |
|
58 | # 2.1.0
|
59 |
|
60 | * Adds onSwipedUp, onSwipedRight, onSwipedDown, onSwipedLeft callbacks.
|
61 |
|
62 |
|
63 | # 2.0
|
64 |
|
65 | * `onFlick` prop has been removed.
|
66 |
|
67 | * `onSwipe` now has a 4th argument for the callback `Boolean isFlick`
|
68 |
|
69 | * Added a prop `flickThreshold` which allows you to customize at what velocity a flick is detected.
|