2.16.0
❗ Important changes
- Add
mouseButton
implementation on Android by @m-bert in #2680 - Add
pointerType
to event by @m-bert in #2760 - feat: add necessary changes for new arch on RN 0.74 by @WoLewicki in #2766
- Add
touchAction
prop. by @m-bert in #2787 - Allows to apply different border radius to RectButton component by @camilossantos2809 in #2792
- Improve RectButton border styles on Android by @camilossantos2809 in #2798
- Make FlingHandler use velocity as the activation metric. by @latekvo in #2796
- Add corner area detection to Fling gesture. by @latekvo in #2807
🐛 Bug fixes
- Add rotation and pinch velocity on macOS by @jfedak in #2706
- Fix
ConcurrentModificationException
. by @m-bert in #2750 - Fix pointers count on iOS by @m-bert in #2755
- fix: remove usage of bridge uimanager in one more place by @WoLewicki in #2768
- Remove hardcoded version of
cocoapods
by @m-bert in #2772 - Move
customDirectEventTypes
to separate files. by @m-bert in #2786 - Fix nested taps activation by @m-bert in #2759
- Cancel handlers by
NativeViewGestureHandler
by @m-bert in #2788 - Make simultaneous handlers always symmetric on iOS by @j-piasecki in #2800
- Update mocks to work when testing for the new arch by @j-piasecki in #2801
- fix(web): After swiping closed, the Swipeable component cannot be swiped open again by @yatessss in #2802
- Remove event listeners on handler drop by @m-bert in #2815
- Use correct origin point for calculating the absolute position on Android by @j-piasecki in #2826
- Add check when removing handlers from orchestrator by @m-bert in #2831
- Use
locationOfTouch:inView
overlocationInView
for focal point by @rrebase in #2834
👍 Improvements
- Pass
{ flex: 1 }
as default style toGestureHandlerRootView
by @kacperkapusciak in #2757 - Stop sending event on pressure changes by @m-bert in #2762
- feat: use proper APIs for newest RN versions on new arch by @WoLewicki in #2767
- Remove circular dependencies on web by @m-bert in #2783
- Address compilation warnings by @m-bert in #2597
- Add
userSelect
to TouchableOpacity by @m-bert in #2812 - Web
Orchestrator
refactor. by @m-bert in #2819 - Replace
mach_absolute_time
withCACurrentMediaTime
by @j-piasecki in #2830
🔢 Miscellaneous
- Restyle Gesture Handler Documentation by @patrycjakalinska in #2753
- Fix incorrect link to Github repository by @patrycjakalinska in #2761
- Add links to each gesture on landing in docs by @kacperkapusciak in #2763
- Update pods on CI by @m-bert in #2765
- Restyle steps in docs by @kacperkapusciak in #2774
- Fix wrong admonition color on initial render by @kacperkapusciak in #2779
- Various style fixes in docs by @kacperkapusciak in #2780
- Add closable App.js banner to docs landing page by @patrycjakalinska in #2781
- Add
mouseButton
description to docs. by @m-bert in #2789 - Add
pointerType
description to docs. by @m-bert in #2791 - Add
enableContextMenu
description to docs. by @m-bert in #2790 - Add
touchAction
description to docs. by @m-bert in #2794 - docs: change accent color to blue by @kacperkapusciak in #2795
- Change
MouseButton
export type. by @m-bert in #2804 - Fix babel config in the root project by @j-piasecki in #2717
New Contributors
- @patrycjakalinska made their first contribution in #2753
- @camilossantos2809 made their first contribution in #2792
- @yatessss made their first contribution in #2802
- @latekvo made their first contribution in #2796
- @rrebase made their first contribution in #2834
Full Changelog: 2.15.0...2.16.0