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.49k stars 121 forks source link

ScrollView from react-native-actions-sheet causes Jest to detect open handles #353

Open jordanwegener opened 5 months ago

jordanwegener commented 5 months ago

Hi all,

I've written tests for a component which uses the ScrollView from this library. I was struggling to diagnose an open handle and eventually narrowed it down to the ScrollView. Mocking the library and returning a react-native ScrollView instead fixes the issue.

Anyone know why or how to fix this?