IT lexicon › Web › Touch-action

Touch-action

Web På svenska → Updated: 2026-11-15

A CSS property that controls which touch gestures are enabled on an element and which browser-default behaviors are allowed.

The touch-action property lets developers tell the browser which touch-based gestures (panning, pinch-zoom, double-tap) are valid for a given element. Values like pan-x, pan-y, pinch-zoom, and manipulation enable the browser to optimize rendering for those specific interactions. By explicitly disallowing gestures that aren't needed, the browser can avoid expensive event handling and improve performance on touch devices.

← Back to the lexicon