Merge pull request #13170 from ramonlsouza/issue-13143

fix: breakout room managing window opening bug
This commit is contained in:
Anton Georgiev 2021-09-10 16:24:10 -04:00 committed by GitHub
commit b9f8592a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,6 @@ class BreakoutRoom extends PureComponent {
roomList.removeEventListener('keydown', this.handleMoveEvent, true);
}
}
this.handleDismiss();
}
handleShiftUser(activeListSibling) {
@ -373,7 +372,7 @@ class BreakoutRoom extends PureComponent {
return;
}
this.setState({ preventClosing: false });
this.handleDismiss();
const rooms = _.range(1, numberOfRooms + 1).map((seq) => ({
users: this.getUserByRoom(seq).map((u) => u.userId),
@ -403,7 +402,7 @@ class BreakoutRoom extends PureComponent {
breakoutUsers.forEach((user) => sendInvitation(breakoutId, user.userId));
});
this.setState({ preventClosing: false });
this.handleDismiss();
}
onAssignRandomly() {