Skip to content

Releases: ethanselzer/react-touch-position

v2.0.0

04 Mar 02:44
Compare
Choose a tag to compare

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