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.41k stars 119 forks source link

[BUG] IOS Crashes When Using this package with Webview #345

Open Martin2037 opened 4 months ago

Martin2037 commented 4 months ago

Description Environment:

IOS version: 17.2 Simulator: iPhone 15 Pro React-Native version: 0.73.5 (new architecture)

Description:

The application crashes without any error messages when I click the open modal button after installing both the actions-sheet and react-native-webview packages. The application compiles without any errors. e74b3cd0-1ed8-4153-9714-359fa0dead23

Actual behavior: The application crashes without any error messages.

Minimal Reproduction:

I've created a minimal reproduction of this issue. The repository can be found at: https://github.com/Martin2037/rn-modal-crash

Output of npx react-native info System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M1 Pro Memory: 69.55 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.9.0 path: /usr/local/bin/node Yarn: version: 1.22.19 path: /usr/local/bin/yarn npm: version: 9.4.0 path: /usr/local/bin/npm Watchman: version: 2024.01.22.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/zhujunyang/.rubies/ruby-3.3.0/bin/pod SDKs: iOS SDK: Platforms:

Expo Version (if applies) No response

Steps to reproduce 1、Install both react-native-actions-sheet and webview packages. 2、Compile the application 3、Click the open modal button.

Snack, code example, screenshot, or link to a repository https://github.com/Martin2037/rn-modal-crash

zzorba commented 2 months ago

I'm seeing the same thing when using new arch + hermes on IOS