appyx icon indicating copy to clipboard operation
appyx copied to clipboard

[#600] Avoid gesture-related modifier if gestures are disabled

Open peposdd opened this issue 1 month ago • 0 comments

Description

Fixes #600

The .onPointerEvent modifier applied to the parent Box of the container was always active, even when isGesturesEnabled was set to false. This caused unnecessary interception of gestures, preventing them from properly propagating up the view tree.

The fix is conditionally applying the .onPointerEvent modifier only when isGesturesEnabled is true. This ensures that gestures are intercepted only when necessary, allowing them to propagate correctly when gestures are disabled.

Checklist

  • [x] I've updated CHANGELOG.md if required.
  • [x] I've updated the documentation if required.

peposdd avatar Jun 09 '24 00:06 peposdd