react-native-actions-sheet
react-native-actions-sheet copied to clipboard
fix(web): allow backgroundInteractionEnabled to work by setting pointerEvents
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