Disable touchstart event for now - causing issue with scrolling choices

This commit is contained in:
Josh Johnson 2016-08-01 14:55:04 +01:00
parent 67fe3b9c5a
commit 6a6988f71b
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -1603,7 +1603,7 @@ export class Choices {
_addEventListeners() {
document.addEventListener('keyup', this._onKeyUp);
document.addEventListener('keydown', this._onKeyDown);
document.addEventListener('touchstart', this._onMouseDown);
// document.addEventListener('touchstart', this._onMouseDown);
document.addEventListener('mousedown', this._onMouseDown);
document.addEventListener('mouseover', this._onMouseOver);
@ -1625,7 +1625,7 @@ export class Choices {
_removeEventListeners() {
document.removeEventListener('keyup', this._onKeyUp);
document.removeEventListener('keydown', this._onKeyDown);
document.removeEventListener('touchstart', this._onMouseDown);
// document.removeEventListener('touchstart', this._onMouseDown);
document.removeEventListener('mousedown', this._onMouseDown);
document.removeEventListener('mouseover', this._onMouseOver);