You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03: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:
@ -195,6 +195,8 @@ module.exports = React.createClass({
|
|||||||
editingRoomSettings: RoomViewStore.isEditingSettings(),
|
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
|
// Temporary logging to diagnose https://github.com/vector-im/riot-web/issues/4307
|
||||||
console.log(
|
console.log(
|
||||||
'RVS update:',
|
'RVS update:',
|
||||||
|
Reference in New Issue
Block a user