We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in ScrollableTabBar.componentWillReceiveProps method JSON.stringify used which cause slow rendering and some times error thrown from this line.
ScrollableTabBar.componentWillReceiveProps
JSON.stringify
[email protected] [email protected] [email protected]
you can't run advanced tab example and you will see TypeError: Converting circular structure to JSON
TypeError: Converting circular structure to JSON
<Tab heading={ <TabHeading><Icon name="camera" /><Text>Camera</Text></TabHeading>}> <Tab1 /> </Tab>
I checked android
bad code:
if (JSON.stringify(this.props.tabs) !== JSON.stringify(nextProps.tabs) && this.state._containerWidth) { this.setState({ _containerWidth: null, }); }
NativeBase/src/basic/Tabs/ScrollableTabBar.js
Line 214 in 031cd95
The text was updated successfully, but these errors were encountered:
I have the same problem with following versions:
Sorry, something went wrong.
shivrajkumar
Successfully merging a pull request may close this issue.
in
ScrollableTabBar.componentWillReceiveProps
methodJSON.stringify
used which cause slow rendering and some times error thrown from this line.react-native, react and native-base version
[email protected]
[email protected]
[email protected]
Steps to reproduce (code snippet or screenshot)
you can't run advanced tab example and you will see
TypeError: Converting circular structure to JSON
Is the bug present in both ios and android or in any one of them?
I checked android
Any other additional info which would help us debug the issue quicker.
bad code:
NativeBase/src/basic/Tabs/ScrollableTabBar.js
Line 214 in 031cd95
The text was updated successfully, but these errors were encountered: