ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.42k stars 119 forks source link

Adds `onTouchBackdrop` to pass up the touch event on the backdrop #292

Closed gbrvalerio closed 5 months ago

gbrvalerio commented 1 year ago

Sorry but I was not able to find any templates for PR's on the docs/repo.

In an app we are developing at the company I work for, we need access to the GestureResponderEvent of the backdrop to know if we should change the focus to a underlying input, thus the need of the callback. I imagined it may be someone else's problem, so here is the solution that has been working for us and adds no side/unknown effects to the codebase.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rnas ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2023 0:39am
ammarahm-ed commented 5 months ago

Hey thanks for adding this, I have added these changes in #330 so I will close this.