mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 12:45:11 +08:00
Fix docs
This commit is contained in:
parent
d49c10b3f5
commit
3e87e043d6
@ -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 New Issue
Block a user