pull/1/head
David Baker 2015-07-06 18:29:24 +01:00
parent d49c10b3f5
commit 3e87e043d6
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ To work on the CSS and Javascript and have the bundle files update as you
change the source files, you'll need to do two extra things:
1. Link the react sdk package into the example:
`cd matrix-react-sdk/example; npm link ..`
`cd matrix-react-sdk/examples/trivial; npm link ../../`
2. Start a watcher for the CSS files:
`cd matrix-react-sdk; npm run start:css`

View File

@ -98,6 +98,9 @@ module.exports = {
componentDidMount: function() {
if (this.refs.messageList) {
var messageUl = this.refs.messageList.getDOMNode();
messageUl.addEventListener('drop', handleDrop);
messageUl.scrollTop = messageUl.scrollHeight;
this.fillSpace();