How to eliminate pointer events, but not touch events?

trusktr

Setting pointer-events:none seems to also turn off touch events. This obviously doesn't make sense, because "touch" events aren't "pointer" events. My finger is not a pointer. :)

Is there some way to turn off only pointer/mouse events, but leave touch events alone? A property like touch-events would be nice.

taseenb

There is no way to disable only mouse events through CSS. But you can easily do it with javascript:

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I make touch events pass through a UIView (similar to pointer-events:none in CSS)?

From Dev

How to handle Touch Events on a Fragment?

From Dev

How to handle Touch Events on a Fragment?

From Dev

How to disable touch events on a View?

From Dev

Touch through an element in a browser (like pointer-events: none)

From Dev

How to send touch events to nextResponder in Swift

From Dev

How and can I disable touch events in Javascript?

From Dev

How to Capture Touch Events with Angular Directive

From Dev

How to create a resizable circle with user touch events?

From Dev

how to enable ionic multi-touch events

From Dev

How to Move a ShapeDrawable in Canvas on Touch Events

From Dev

How to efficiently react to touch events in Windows RT

From Dev

How to send the touch events of UIScrollView to the view behind it?

From Dev

Android wear - how to capture touch events

From Dev

How do we use Watchkit Touch Events?

From Dev

Sparrow: How to have different events for touch and drag

From Dev

How to efficiently react to touch events in Windows RT

From Dev

Status bar: how to detect touch events?

From Dev

Android wear - how to capture touch events

From Dev

How to enable touch events on pjax library?

From Dev

How to "stack" touch events in React Native

From Dev

How do I Emulate touch events without using touch screen

From Dev

How to lift a finger from a touch screen without generating touch events?

From Dev

touch events firing twice

From Dev

SKSpriteNode not detecting touch events

From Dev

Safari not firing touch events

From Dev

Overlapping Fragments and Touch Events

From Dev

Switch to touch events with SnapSvg

From Dev

Processing Touch and Gesture Events

Related Related

HotTag

Archive