mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
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
@ -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…
x
Reference in New Issue
Block a user