From 1bc0f5e86f80d429a09c8e1acf4f85e8625a2b4c Mon Sep 17 00:00:00 2001 From: Chuong Date: Sun, 3 Dec 2017 01:54:02 +0700 Subject: [PATCH] fix can not drag on drag-bar fix #4773 --- src/js/utils/dom.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/utils/dom.js b/src/js/utils/dom.js index 71cb2a5c0b..2bcdb7727f 100644 --- a/src/js/utils/dom.js +++ b/src/js/utils/dom.js @@ -8,6 +8,7 @@ import log from './log.js'; import tsml from 'tsml'; import {isObject} from './obj'; import computedStyle from './computed-style'; +import * as browser from './browser'; /** * Detect if a value is a string with any non-whitespace characters. @@ -782,6 +783,12 @@ export function isSingleLeftClick(event) { return true; } + if (browser.IE_VERSION === 9) { + // Ignore IE9 + + return true; + } + if (event.button !== 0 || event.buttons !== 1) { // This is the reason we have those if else block above // if any special case we can catch and let it slide