répare le scroll sur ie

pull/285/head
Johan Girod 2018-08-08 18:42:47 +02:00
parent 1756d90f9a
commit fd94bfa032
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
}
body {
overflow-x: hidden;
overflow-x: hidden !important;
}
button {

View File

@ -4,6 +4,7 @@ import React from 'react'
import { connect } from 'react-redux'
import { Link } from 'react-router-dom'
import { nextQuestionUrlSelector } from 'Selectors/companyStatusSelectors'
import { isIE } from '../../../../utils'
import type { Match, RouterHistory } from 'react-router'
type Props = {
@ -33,7 +34,8 @@ const CreateMyCompany = ({ match, nextQuestionUrl, history }: Props) => (
</Link>
</div>
)}
{!match.isExact && <Scroll.toElement key={history.location.pathname} />}
{!isIE() &&
!match.isExact && <Scroll.toElement key={history.location.pathname} />}
</>
)