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 bdc1d1f commit 9b80342Copy full SHA for 9b80342
src/hammer.js
@@ -16,7 +16,7 @@ function createEnabler(chart) {
16
}
17
const modifierKey = panOptions.modifierKey;
18
const requireModifier = modifierKey && (event.pointerType === 'mouse');
19
- if (requireModifier && !event.srcEvent[modifierKey + 'Key']) {
+ if (!state.panning && requireModifier && !event.srcEvent[modifierKey + 'Key']) {
20
call(panOptions.onPanRejected, [{chart, event}]);
21
return false;
22
0 commit comments