Skip to content
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

null scrollbar fix for componentWillUnmount #20

Merged
merged 2 commits into from
May 19, 2016
Merged

null scrollbar fix for componentWillUnmount #20

merged 2 commits into from
May 19, 2016

Conversation

vdh
Copy link
Contributor

@vdh vdh commented May 19, 2016

In some cases, componentWillUnmount is called before componentDidMount, which leaves this.scrollbar as null and causes a Cannot read property 'destroy' of null error. See this issue in React

vdh added 2 commits May 19, 2016 13:23
In some cases, `componentWillUnmount` is called before `componentDidMount`, which leaves `this.scrollbar` as null and causes a `Cannot read property 'destroy' of null` error. [See this issue in React](facebook/react#5719)
@noeldelgado noeldelgado merged commit 44c995d into noeldelgado:master May 19, 2016
@vdh vdh deleted the patch-1 branch May 19, 2016 23:47
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