Focus composer after closing room settings
For some reason the slate update means the composer doesn't have the focus after closing the room settings, and the end to end tests pick this up!
This commit is contained in:
parent
4e1fabd140
commit
6f9d673b79
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ module.exports = React.createClass({
|
|||
editingRoomSettings: RoomViewStore.isEditingSettings(),
|
||||
};
|
||||
|
||||
if (this.state.editingRoomSettings && !newState.editingRoomSettings) dis.dispatch({action: 'focus_composer'});
|
||||
|
||||
// Temporary logging to diagnose https://github.com/vector-im/riot-web/issues/4307
|
||||
console.log(
|
||||
'RVS update:',
|
||||
|
|
Loading…
Reference in a new issue