Skip to content

Fixed this.setState error for android api under 17 #241

New issue

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

Merged
merged 2 commits into from
Oct 11, 2018

Conversation

skuzoluk
Copy link
Contributor

This function is throwing error on android api <= 17 because of getComponentDimensions scope.
What i did is bind this context to the function on constructor. Now there is no more error thrown.

This function is throwing error on android api <= 17 because of getComponentDimensions scope.
What i did is bind this context to the function on construnctor. Now there is no more error thrown.
Same this.setState error in another button component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants