🎨 Les réponses aux questions sont joliment poussées vers le haut

pull/55/head
mama 2017-09-28 15:49:47 +02:00
parent c842fc0a24
commit db479cbab2
2 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,7 @@
"react-redux": "^5.0.5",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"react-scroll": "^1.5.4",
"reduce-reducers": "^0.1.2",
"redux": "^3.6.0",
"redux-form": "6.8.0",
@ -54,8 +55,8 @@
"chokidar": "^1.7.0",
"core-js": "^2.4.1",
"css-loader": "^0.28.1",
"eslint": "^4.4.1",
"daggy": "^1.1.0",
"eslint": "^4.4.1",
"eslint-plugin-react": "^7.0.1",
"express": "^4.15.3",
"fantasy-combinators": "0.0.1",

View File

@ -3,6 +3,7 @@ import R from 'ramda'
import Aide from '../Aide'
import Satisfaction from '../Satisfaction'
import {reduxForm} from 'redux-form'
import Scroll from 'react-scroll'
@reduxForm({
form: "conversation",
@ -11,7 +12,8 @@ import {reduxForm} from 'redux-form'
export default class Conversation extends Component {
render() {
let {foldedSteps, unfoldedSteps, extraSteps, reinitalise, situation, situationGate} = this.props
window.scrollTo(0,document.body.scrollHeight)
Scroll.animateScroll.scrollToBottom()
return (
<div id="conversation">
<div id="questions-answers">