expo / react-native-action-sheet

A cross-platform ActionSheet for React Native
MIT License
1.37k stars 224 forks source link

Two bugs with the new version 4.0.0 #282

Closed kovkev closed 1 year ago

kovkev commented 1 year ago

I am using react-native-gifted-chat and I encountered the following two bugs because of @expo/react-native-action-sheet@4.0.0. I don't get these issues with @expo/react-native-action-sheet@3.14.0.

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? #2295: https://github.com/FaridSafi/react-native-gifted-chat/issues/2295

Uncaught TypeError: Cannot read properties of undefined (reading 'showActionSheetWithOptions') #2294: https://github.com/FaridSafi/react-native-gifted-chat/issues/2294

bradbyte commented 1 year ago

Thank you! I’ll get right in that.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 4.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

bradbyte commented 1 year ago

@kovkev have you verified all is well with 4.0.1? Thanks.

kovkev commented 1 year ago

Yes the issue is fixed at 4.0.1!