From d25d12287b1527bde12f15b6d5c2fae473826a4a Mon Sep 17 00:00:00 2001 From: Mark McKelvy Date: Wed, 21 Oct 2015 13:21:31 -0700 Subject: [PATCH] fix overlay issue --- src/overlay.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overlay.jsx b/src/overlay.jsx index d572eb5134e53d..92df3e69a9a48a 100644 --- a/src/overlay.jsx +++ b/src/overlay.jsx @@ -54,8 +54,8 @@ const Overlay = React.createClass({ }; }, - componentDidMount() { - this._originalBodyOverflow = document.getElementsByTagName('body')[0].style.oveflow; + componentWillMount() { + this._originalBodyOverflow = document.getElementsByTagName('body')[0].style.overflow; }, componentDidUpdate() {