Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Added out of the box support for IE 11. #5

Merged
merged 2 commits into from
Jun 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PageTransition.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class PageTransition extends React.Component {
const { timeout, loadingComponent, loadingCallbackName } = this.props
const { renderedChildren: children, state } = this.state

if (['entering', 'exiting', 'exited'].includes(state)) {
if (['entering', 'exiting', 'exited'].indexOf(state) !== -1) {
// Need to reflow!
// eslint-disable-next-line no-unused-expressions
if (document.body) document.body.scrollTop
Expand Down