0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ChromiumではないMS Edgeで要素ドラッグしようとするとタッチジェスチャーが動作してしまう件の回避

Posted at

#概要

  • 最新のChromium版のMicrosoft Edgeではない、古いEdge
  • タッチディスプレイで、タッチ操作

という条件で、HTML内の要素ドラッグをしようとすると、全体のタッチジェスチャー(?)が効いてドラッグできません。
Microsoft-Edge-2020-05-28-11-08-20_Trim.gif

上記キャプチャのURLはこちら。
https://gijgo.com/draggable

#解決法
CSSで、ドラッグしたい要素に touch-action: none; を指定するだけ!

ひとまず、DeveloperToolで追加
image.png

うまくいった!
Microsoft-Edge-2020-05-28-11-14-18_Trim.gif

#参考
https://stackoverflow.com/questions/47495465/how-to-disable-swipe-to-go-back-in-microsoft-edge-with-javascript-or-jquery

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?