You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,14 @@
1
+
# 5.1.0
2
+
* Fix for `preventDefaultTouchmoveEvent` in safari [issue #127](https://github.com/dogfessional/react-swipeable/issues/127) and [PR #131](https://github.com/dogfessional/react-swipeable/pull/131)
3
+
* Thank you [@JiiB](https://github.com/JiiB) and [@bhj](https://github.com/bhj)!
4
+
* use `ref` callback for both `<Swipeable>` and `useSwipeable` to attach all touch event handlers
5
+
*`useSwipeable`'s returned `handlers` now contains a ref callback
6
+
* Please see disscusion and comments in both [#127](https://github.com/dogfessional/react-swipeable/issues/127) and [#131](https://github.com/dogfessional/react-swipeable/issues/127) for more details and info.
7
+
* fix avoids the `passive: true` issue from chrome document event listeners
8
+
* fix avoids bug on safari where the `touchmove` event listener needs to be attached before a `touchstart` in order to be able to call `e.preventDefault`
9
+
* removed `touchHandlerOption` prop
10
+
* fix above deprecates this prop
11
+
1
12
# 5.0.0
2
13
* Introduce react hook, `useSwipeable`
3
14
* Core rewrite to simplify api and trim down bundled size
0 commit comments