NativeBase
NativeBase copied to clipboard
Actionsheet is not able to access it's parent context.
Description
ActionSheet component with React.Context. The context consumer doesn't appear to have the latest state.
CodeSandbox/Snack link
https://snack.expo.dev/@joeyjiron06/2a8d0e
Steps to reproduce
No response
NativeBase Version
3.4.8
Platform
- [X] Android
- [X] CRA
- [X] Expo
- [X] iOS
- [X] Next
Other Platform
No response
Additional Information
No response
Hey @sanna231, Thanks for reporting the issue, We'll look into it. For now, the workaround is that you have to wrap NativeBaseProvider with your ContextProvider.