Skip to content

Commit

Permalink
Add touchAction description to docs. (#2794)
Browse files Browse the repository at this point in the history
## Description

This PR adds `touchAction` property description to our documentation.

## Test plan

Run docs.
  • Loading branch information
m-bert authored Mar 5, 2024
1 parent 2510927 commit fe60b22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/gestures/gesture-detector.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Starting with Reanimated 2.3.0 Gesture Handler will provide a [StateManager](/do

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"`.

### `touchAction` (Web only)

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"`.

### `enableContextMenu(value: boolean)` (Web only)

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

0 comments on commit fe60b22

Please sign in to comment.