We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7a90d commit c0354c4Copy full SHA for c0354c4
src/SortableContainer/index.js
@@ -153,11 +153,7 @@ export default function sortableContainer(
153
* prevent subsequent 'mousemove' events from being fired
154
* (see https://github.com/clauderic/react-sortable-hoc/issues/118)
155
*/
156
- if (
157
- !isTouchEvent(event) &&
158
- (event.target.tagName === NodeType.Anchor ||
159
- event.target.tagName === NodeType.Button)
160
- ) {
+ if (!isTouchEvent(event) && event.target.tagName === NodeType.Anchor) {
161
event.preventDefault();
162
}
163
0 commit comments