Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'options') #150

Open
strivelen opened this issue Nov 29, 2021 · 1 comment
Open

Comments

@strivelen
Copy link

strivelen commented Nov 29, 2021

simulator_screenshot_ED82F916-6748-4929-8EC8-15E422E8CBA6

解决方案:

the file: node_modules/react-native-actionsheet/lib/ActionSheetIOS.js , add the following code

  constructor(props) {
    super(props)
    this.show = this.show.bind(this)
  }
@strivelen
Copy link
Author

You can use it together patch-package npm package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant