Releases: ethanselzer/react-touch-position
Releases · ethanselzer/react-touch-position
v2.0.0
Breaking Changes from V1x
Child Props
isTouchOutside becomes isPositionOutside and the default changes from false to true
Props API
mapPropNames
becomes mapChildProps
and its arguments change from { isActive, isTouchOutside, touchPosition }
to { isActive, isPositionOutside, touchPosition }
onPositionChange
arguments change from { isPositionOutside, x, y }
to { isPositionOutside, touchPosition: { x, y } }
Improvements and Bug Fixes
Support Chrome 56 for Android - Corrects issue #1
Add Code Coverage
Add demo site