Skip to content

Stop Touch Move Propagation After Activation

Latest
Compare
Choose a tag to compare
@ethanselzer ethanselzer released this 30 Sep 07:12

Touchmove propagation is only stopped when shouldStopTouchMovePropagation is set. The concept of the change, captured in this release, is when shouldStopTouchMovePropagation is set, stop touchmove propagation only when react-cursor-position is active. When react-cursor-position is active it should "own" touchmove and not propagate it to parent components. This is useful when integrating with react-slick.