1.0.8
This is a minor release which adds a series of bug fixes and improvements listed below. Among the most important change are new properties that's been added to PanGestureHandler to make activation/fail criteria even more flexible. Namely: activeOffsetX/Y and failOffsetX/Y.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
🐛 BUG FIXES
- Fix PropTypes by @ckknight (#268)
- Fix compatibility with react-native-reanimated by @osdnk (#287)
- Add
activeOpacitydefinition to RectButtonProperties by @hkolsen (#288)
👍 IMPROVEMENTS
- Update TS definitions by @henrikra (#260), @osdnk (#281), @m-tymchyk (#298)
- Update docs by @osdnk (#258)(#274), @sebryu (#272), @vonovak (#303)
- Add extra fields to long press, fling and tap event payload on Android by @osdnk (#277)
- Unify
PanGestureHandleractivation/fail criteria by @osdnk (#292), @kmagiera
API ofPanGestureHandlerhas been changed a little bit in order to be more flexible! ✋ - Prevent interpolate when values are out of order by @mironiasty (#301) 🎉
- Factor in the current drawer translation when animating by @brentvatne (#286)
- Add support for hitSlop on buttons on iOS by @janicduplessis (#283)
🙌 Thanks for all the contributions and issue reports which make RNGH better and better! 😍