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 1264806 commit 87df579Copy full SHA for 87df579
lib/DraggableCore.es6
@@ -402,11 +402,6 @@ export default class DraggableCore extends React.Component {
402
// We're on a touch device now, so change the event handlers
403
dragEventFor = eventsFor.touch;
404
405
- // HACK: Prevent 'ghost click' which happens 300ms after touchstart if the event isn't cancelled.
406
- // We don't cancel the event on touchstart because of #37; we might want to make a scrollable item draggable.
407
- // More on ghost clicks: http://ariatemplates.com/blog/2014/05/ghost-clicks-in-mobile-browsers/
408
- e.preventDefault();
409
-
410
return this.handleDragStop(e);
411
};
412
0 commit comments