Cannot read property 'style' of undefined in native-base/dist/src/basic/Tabs/DefaultTabBar.js
See original GitHub issueI 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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'style' of undefined ...
The getElementByClassName implies that the selector's name is a class, so you don't need the dot in front of it. Same as you...
Read more >Cannot read property 'style' of undefined · Issue #253 - GitHub
I just tried to comment out the line 29 of node_modules/react-native-dropdownalert/DropdownAlert.js then it's working well now ! Screenshot 2021 ...
Read more >Cannot read property 'style' of undefined... — DataTables forums
When I've seen this error before its because the number of columns defined in the JS doesn't match the number of column in...
Read more >Uncaught TypeError: Cannot read property 'style' of undefined
Uncaught TypeError : Cannot read property 'style' of undefined at _fnCalculateColumnWidths (jquery.dataTables.js:5586)
Read more >Uncaught TypeError: Cannot read property 'style' of undefined
ive just started learning javascript but when i try run some code i get this error and i cant seem to find out...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.