diff --git a/CHANGELOG.md b/CHANGELOG.md index d94e62e..a3eadc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 2.8.4 +* ペンタブレットによるドラッグ時、意図しない操作が起きる問題を修正 + ## 2.8.3 * `MouseTouchEventHandler` において `button` の値が一部 `PointerEventHandler` と異なってしまう問題を修正 diff --git a/package-lock.json b/package-lock.json index 6f0548e..8139cad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@akashic/pdi-browser", - "version": "2.8.3", + "version": "2.8.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@akashic/pdi-browser", - "version": "2.8.3", + "version": "2.8.4", "license": "MIT", "dependencies": { "@akashic/trigger": "^2.0.1" diff --git a/package.json b/package.json index 01dfac8..c89a781 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@akashic/pdi-browser", - "version": "2.8.3", + "version": "2.8.4", "description": "An akashic-pdi implementation for Web browsers", "main": "index.js", "typings": "lib/full/index.d.ts", diff --git a/src/InputHandlerLayer.ts b/src/InputHandlerLayer.ts index c805af2..adbf389 100644 --- a/src/InputHandlerLayer.ts +++ b/src/InputHandlerLayer.ts @@ -74,7 +74,7 @@ export class InputHandlerLayer { private _createInputView(width: number, height: number): HTMLDivElement { const view = document.createElement("div"); - view.setAttribute("style", "display:inline-block; outline:none;"); + view.setAttribute("style", "display:inline-block; outline:none; touch-action:none"); view.style.width = width + "px"; view.style.height = height + "px"; view.setAttribute("tabindex", "0");