react-native-actions-sheet icon indicating copy to clipboard operation
react-native-actions-sheet copied to clipboard

fix(web): allow backgroundInteractionEnabled to work by setting pointerEvents

Open Silvallis opened this issue 6 months ago • 2 comments

Adds pointerEvents: 'box-none' to the GestureHandlerRootView when backgroundInteractionEnabled is true, allowing background elements to receive pointer events on Web, consistent with Android behavior.

This PR fixes a bug where backgroundInteractionEnabled does not allow pointer events to pass through on Web. The issue was due to missing pointerEvents: 'box-none' on the GestureHandlerRootView.

Fixes #430

Tested on:

  • ✅ Android
  • ✅ Web

Silvallis avatar Apr 29 '25 08:04 Silvallis