Skip to content

Commit

Permalink
add react-beautiful-dnd patch for touch delay
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-james-watson committed Apr 24, 2021
1 parent f000140 commit 9200f23
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/react-beautiful-dnd+13.1.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
index 351b787..220cb0f 100644
--- a/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
+++ b/node_modules/react-beautiful-dnd/dist/react-beautiful-dnd.esm.js
@@ -6045,7 +6045,7 @@ function useKeyboardSensor(api) {
var idle$2 = {
type: 'IDLE'
};
-var timeForLongPress = 120;
+var timeForLongPress = 0;
var forcePressThreshold = 0.15;

function getWindowBindings(_ref) {

0 comments on commit 9200f23

Please sign in to comment.