1 | # 4.3.0
|
2 | * Add `rotationAngle` prop. [#103](https://github.com/dogfessional/react-swipeable/pull/103)
|
3 | * will allow to set a rotation angle, e.g. for a four-player game on a tablet, where each player has a 90° turned view.
|
4 | * Thank you [@Narquadah](https://github.com/Narquadah) and [@LarsKumbier](https://github.com/LarsKumbier)!
|
5 |
|
6 | # 4.2.2
|
7 | * fixed bug that happened when if either `onSwiping` or `onSwiped` were set we were not calling `e.preventDefault()` appropriately
|
8 |
|
9 | # 4.2.0
|
10 | * Add support for calling `preventDefault` on Chrome 56+ via passive event support checking and manual event listener setup. [#88](https://github.com/dogfessional/react-swipeable/pull/88)
|
11 | * Thank you [@kl0tl](https://github.com/kl0tl) and [@KrashStudio](https://github.com/KrashStudio)!
|
12 |
|
13 | # 4.1.0
|
14 | * add `disabled` prop. [#83](https://github.com/dogfessional/react-swipeable/pull/83)
|
15 | * add `innerRef` prop that allows user to access to `<Swipeable>`'s inner dom node react ref. [#82](https://github.com/dogfessional/react-swipeable/pull/82)
|
16 |
|
17 | # 4.0.1
|
18 | * fixed bug where delta was causing a swipe to not be tracked correctly, #74 , thanks @mctep
|
19 |
|
20 | # 4.0.0
|
21 |
|
22 | * **Major Change** `preventDefaultTouchmoveEvent` defaults to `false` now [#69](https://github.com/dogfessional/react-swipeable/issue/69)
|
23 | * This change is in part due to a [Chrome56+ change](https://github.com/dogfessional/react-swipeable#chrome-56-and-later-warning-with-preventdefault)
|
24 | * **Major Change** drop support for React 12 & 13, `peerDependencies` updated [#64](https://github.com/dogfessional/react-swipeable/pull/64)
|
25 | * `prop-types` added to `dependencies` [#64](https://github.com/dogfessional/react-swipeable/pull/64)
|
26 | * **Major Change** `trackMouse` now 'tracks' the swipe outside of the swipeable component, [#67](https://github.com/dogfessional/react-swipeable/pull/67).
|
27 | * Thanks for example [@TanaseHagi](https://github.com/TanaseHagi)
|
28 | * react 16 added to `peerDependencies`
|
29 |
|
30 | # 3.9.0
|
31 |
|
32 | * 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)
|
33 | * 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/).
|
34 |
|
35 | # 3.8.0
|
36 |
|
37 | * 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)
|
38 | * 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.
|
39 |
|
40 | # 3.7.0
|
41 |
|
42 | * 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)
|
43 |
|
44 | # 3.6.0
|
45 |
|
46 | * add stopPropagation prop for all swipe events, defaults to `false`. See [#46](https://github.com/dogfessional/react-swipeable/issues/46) for more info.
|
47 |
|
48 | # 3.5.1
|
49 |
|
50 | * fix React 15.2.0 warning for unknown properties on DOM elements
|
51 |
|
52 | # 3.5.0
|
53 |
|
54 | * 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.
|
55 |
|
56 | # 3.4.0
|
57 |
|
58 | * 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.
|
59 |
|
60 | # 3.3.0
|
61 |
|
62 | * Adds `velocity` data to `onSwiping` callback
|
63 | * Updated the build process introducing ES2015 and babel
|
64 |
|
65 | # 3.2.0
|
66 |
|
67 | * Adds `preventDefaultTouchMoveEvent` option, defaults to true
|
68 |
|
69 | # 3.1.0
|
70 |
|
71 | * Adds `isFLick` to onSwipe events
|
72 | * Removes React as a peer dep
|
73 | * Adds onSwiping events
|
74 |
|
75 | # 3.0.2
|
76 |
|
77 | * Fixes onSwipeDown and onSwipeUp events
|
78 |
|
79 | # 3.0.1
|
80 |
|
81 | * Fixes vertical swiping
|
82 |
|
83 | # 3.0.0
|
84 |
|
85 | * Refactors build into jsx.
|
86 |
|
87 | # 2.1.0
|
88 |
|
89 | * Adds onSwipedUp, onSwipedRight, onSwipedDown, onSwipedLeft callbacks.
|
90 |
|
91 |
|
92 | # 2.0
|
93 |
|
94 | * `onFlick` prop has been removed.
|
95 |
|
96 | * `onSwipe` now has a 4th argument for the callback `Boolean isFlick`
|
97 |
|
98 | * Added a prop `flickThreshold` which allows you to customize at what velocity a flick is detected.
|