NativeBase: Cannot read property 'style' of undefined in native-base/dist/src/basic/Tabs/DefaultTabBar.js
I have gone through these following points
- Check latest documentation: https://docs.nativebase.io/
- Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
- Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
- Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
- [] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
- [] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/
Issue Description
Versions
- node 12.10.0,
- npm 6.10.3,
- react-native 0.61.4,
- react 16.9.0
- native-base 2.13.8
- expo 36.0.0
Expected behaviour
Should work without an error
Actual behaviour
Throws an error
Cannot read property ‘style’ of undefined
in node_modules/native-base/dist/src/basic/Tabs/DefaultTabBar.js
Steps to reproduce
- Import
<Button>and use as per docs - Simply run
expo start

Is the bug present in both iOS and Android or in any one of them?
Yes
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 15 (4 by maintainers)
It seems they are already working on this issue: https://github.com/GeekyAnts/NativeBase/issues/3264#issuecomment-703404306
Yep. Having the same issue with react-native-web pkg.
Any solution to this?
This happens when I added react-native-web package