Skip to content

Commit

Permalink
modify defaulty mobile-drag-drop lib behaviour - add flag to forceful…
Browse files Browse the repository at this point in the history
…ly apply polyfilling (see timruffles/mobile-drag-drop#167 for more)
  • Loading branch information
bn-pass committed Dec 15, 2022
1 parent acabc59 commit 1c722ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { scrollBehaviourDragImageTranslateOverride } from "mobile-drag-drop/scro
polyfill({
// use this to make use of the scroll behaviour
dragImageTranslateOverride: scrollBehaviourDragImageTranslateOverride,
forceApply: true,
});

// console.log("mobileDragAndDrop loaded", polyfill);

0 comments on commit 1c722ab

Please sign in to comment.