move focus to breakout-room panel on open
This commit is contained in:
parent
b9f8592a80
commit
75073842fd
@ -119,6 +119,10 @@ class BreakoutRoom extends PureComponent {
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
if (this.panel) this.panel.firstChild.focus();
|
||||
}
|
||||
|
||||
componentDidUpdate() {
|
||||
const {
|
||||
breakoutRoomUser,
|
||||
@ -513,7 +517,7 @@ class BreakoutRoom extends PureComponent {
|
||||
amIModerator,
|
||||
} = this.props;
|
||||
return (
|
||||
<div className={styles.panel}>
|
||||
<div className={styles.panel} ref={(n) => this.panel = n}>
|
||||
<Button
|
||||
icon="left_arrow"
|
||||
label={intl.formatMessage(intlMessages.breakoutTitle)}
|
||||
|
@ -347,7 +347,7 @@ class UserOptions extends PureComponent {
|
||||
return (
|
||||
<BBBMenu
|
||||
trigger={(
|
||||
<Button
|
||||
<Button
|
||||
label={intl.formatMessage(intlMessages.optionsLabel)}
|
||||
data-test="manageUsers"
|
||||
icon="settings"
|
||||
|
Loading…
Reference in New Issue
Block a user