Skip to content

Releases: GoodNotes/react-dnd

v16.0.2-dev.1: Add only single event listener to body to handle touchmove events

07 Apr 08:54
a2037b6
Compare
Choose a tag to compare
`connectDropTarget` added a touchmove event listener to the body for
each target node, which added performance overhead scaling with the
number of target nodes. This commit changes it to add only one
event listener to the body, which handles touchmove events for all
target nodes.