Skip to content

Commit

Permalink
HideBodyVerticalScroll - forcing reflow in restoreStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Khazamov committed Feb 14, 2018
1 parent 546883e commit 839ae2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/HideBodyVerticalScroll/HideBodyVerticalScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ export default class HideBodyVerticalScroll extends React.Component<Props> {
this._disposeBodyStyle = null;
document.scrollTop = scrollTop;
}

// Forcing reflow for Firefix
attachStylesheet('html, body { height: auto; }')();
};
}

Expand Down

0 comments on commit 839ae2b

Please sign in to comment.