Skip to content

Commit fe60b22

Browse files
authored
Add touchAction description to docs. (#2794)
## Description This PR adds `touchAction` property description to our documentation. ## Test plan Run docs.
1 parent 2510927 commit fe60b22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/gestures/gesture-detector.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ Starting with Reanimated 2.3.0 Gesture Handler will provide a [StateManager](/do
4242

4343
This parameter allows to specify which `userSelect` property should be applied to underlying view. Possible values are `"none" | "auto" | "text"`. Default value is set to `"none"`.
4444

45+
### `touchAction` (Web only)
46+
47+
This parameter allows to specify which `touchAction` property should be applied to underlying view. Supports all CSS `touch-action` values (e.g. `"none"`, `"pan-y"`). Default value is set to `"none"`.
48+
4549
### `enableContextMenu(value: boolean)` (Web only)
4650

4751
Specifies whether context menu should be enabled after clicking on underlying view with right mouse button. Default value is set to `false`.

0 commit comments

Comments
 (0)