Skip to content

Commit

Permalink
fix: suggested changes
Browse files Browse the repository at this point in the history
Co-authored-by: Patrycja Kalińska <[email protected]>
  • Loading branch information
shubh73 and patrycjakalinska authored Aug 12, 2024
1 parent 8739a44 commit eeea44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/fundamentals/manual-gestures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ And that's all! As you can see using manual gestures is really easy but as you c

## Modifying existing gestures

While manual gestures open great possibilities we are aware that reimplementing pinch or rotation from scratch just because you need to activate in specific circumstances or require position of the fingers, would be a waste of time as those gestures are already available. Therefore, can use touch events with every gesture to extract more information about gesture than what is provided in the events. We also added a `manualActivation` modifier on all continuous gestures, which prevents the gesture it is applied to from activating automatically, giving you full control over its behavior.
While manual gestures open great possibilities we are aware that reimplementing pinch or rotation from scratch just because you need to activate in specific circumstances or require position of the fingers, would be a waste of time as those gestures are already available. Therefore, you can use touch events with every gesture to extract more detailed information about the gesture than what the basic events alone provide. We also added a `manualActivation` modifier on all continuous gestures, which prevents the gesture it is applied to from activating automatically, giving you full control over its behavior.

This functionality makes another highly requested feature possible: drag after long press. Simply set `manualActivation` to `true` on a `PanGesture` and use `StateManager` to fail the gesture if the user attempts to drag the component sooner than the duration of the long press.

0 comments on commit eeea44b

Please sign in to comment.