mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Fix docs
This commit is contained in:
parent
d49c10b3f5
commit
3e87e043d6
2 changed files with 4 additions and 1 deletions
|
@ -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`
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue